Have ideas to improve npm?Join in the discussion! ¬Ľ

    lib-config

    0.1.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    Config File Library

    Install

    npm install --save lib-config
    

    Usage

    var config = require('config');
     
    var parent = {
      one: 'one',
      two: 'two'
    };
     
    var child = {
      one: 1,
      three: 3
    }
     
    config.load(parent);
    config.load(child);
     
    config.get('one');
    // 1
     
    config.get('two');
    // 'two'
     
    config.get('three');
    // 3

    Keywords

    none

    Install

    npm i lib-config

    DownloadsWeekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • avatar