npm.io
0.0.1 • Published 9 years ago

json-config-store

Licence
MIT
Version
0.0.1
Deps
2
Vulns
0
Weekly
0

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