lib-config

0.1.0 • Public • Published

Config File Library

Install

npm install --save lib-config

Usage

var config = require('config');
 
var parent = {
  one: 'one',
  two: 'two'
};
 
var child = {
  one: 1,
  three: 3
}
 
config.load(parent);
config.load(child);
 
config.get('one');
// 1
 
config.get('two');
// 'two'
 
config.get('three');
// 3

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i lib-config

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • groundwater