Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

zcong1993/json-config-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-config-store


Build Status npm version npm codecov

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

About

control your config with a json file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published