yaconf

0.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i yaconf

Weekly Downloads

1

Version

0.0.4

License

none

Last publish

Collaborators

  • architectd
  • crcn