0.0.1 • Published 7 years ago

json-config-store v0.0.1

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

json-config-store


Build Status npm version npm

control your config with a json file

forked from sindresorhus/conf, change the constructor to make it more flexible.

Install

$ yarn add json-config-store

Usage

const Conf = require('json-config-store')

const conf = new Conf({
  cwd: __dirname, // required, path of the config file
  configName: 'my-conf' // config file name
})

// then ...

Api

please see sindresorhus/conf.

License

MIT © zcong1993