yaconf

Dead simple node.js file configuration

Yet Another Config library

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" }