json-config-store

0.0.1 • Public • Published

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

/json-config-store/

    Package Sidebar

    Install

    npm i json-config-store

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • zcong