Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitattributes
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
README.md

easyconf

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

安装

(sudo) 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.save(function(err) {
    //TODO
 });

License

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

Something went wrong with that request. Please try again.