0.0.4 • Published 12 years ago

yaconf v0.0.4

Weekly downloads
13
License
-
Repository
github
Last release
12 years ago

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

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago