yaconf
v0.0.4
Published
Dead simple node.js file configuration
Downloads
3
Readme
Yet Another Config library
There's at least a kajillion other libraries that do the same thing - why did you build one?
It look me longer looking for the right one vs just building it.
in my/config.js
module.exports = require('yaconf').file('/etc/app/config.json');
in my/app.js
var cfg = require('./config');
//saved
cfg.save('person:name', Craig );
cfg.get('person:name');// Craig
cfg.get('person');// { name: "Craig" }