control your config with a json file
forked from sindresorhus/conf, change the constructor
to make it more flexible.
$ yarn add json-config-store
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 ...
please see sindresorhus/conf.
MIT © zcong1993