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

    Keywords

    none

    Install

    npm i yaconf

    DownloadsWeekly Downloads

    2

    Version

    0.0.4

    License

    none

    Last publish

    Collaborators

    • avatar
    • avatar