@beisen/read-rc

![Build Status](https://travis-ci.org/BeisenUX/read-rc.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/BeisenUX/read-rc/badge.svg)](https://coveralls.io/github/BeisenUX/read-rc)

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Aug 17, 2018Jul 20, 2018Minified + gzip package size for @beisen/read-rc in KB

Readme

Build Status Coverage Status

描述

提供给 storybook-lib、bscpm 模块中用于获取组件项目中配置信息

API

RCFileName

获取配置文件的名字

getPackageInfo()

是否存在package.json获取都不会报错

extractRCFromPakcage()

从package.json文件中提取配置信息

default()

获取配置文件json格式数据

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.