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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i lib-config

      Weekly Downloads

      3

      Version

      0.1.0

      License

      MIT

      Last publish

      Collaborators

      • groundwater