cfg-js
v0.1.1
Published
A simple config module
Downloads
5
Readme
cfg-js
A simple config module
Install
This package depends on Node.js.
$ npm install cfg-js
Usage
var Config = require('cfg-js');
var cfg = new Config({
hello: {
cfg: {
js: 'hello cfg-js'
}
}
});
cfg.has('hello.cfg.js'); // true
cfg.get('hello.cfg.js'); // 'hello cfg-js'
cfg.has('js.cfg.hello'); // false
cfg.get('js.cfg.hello'); // undefined
License
This software is under the MIT license. See the complete license in:
LICENSE