easyconf

The easy method to read and write config

npm install easyconf
1 downloads in the last day
7 downloads in the last week
38 downloads in the last month

easyconf

一个简化的json配置文件读写器

安装

npm install easyconf

或者

git clone git://github.com/czy88840616/easyconf.git
npm link

使用

var easyconf = require('easyconf'),
    conf = new easyconf('./nconf_demo.json');

conf.set('use', 'cart');
conf.get('vmcommon');
conf.remove('use');
conf.save(function(err) {
//TODO
});

or 

conf.saveSync();

License

easyconf 遵守 "MIT":https://github.com/czy88840616/easyconf/blob/master/LICENSE.md 协议

npm loves you