0.1.0 • Published 10 years ago

lib-config v0.1.0

Weekly downloads
1
License
-
Repository
-
Last release
10 years ago

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