options-stream

load options with stream mode, option file can be json/ini/yaml/ion file

npm install options-stream
1 downloads in the last day
1 downloads in the last week
43 downloads in the last month

Options Stream

travis build info

var os = require('options-stream');

var options = os({ // code default options
    a: 1
    b: 2
}, 'etc/options.default.json' // project default options
, 'etc/options.hostname.ini' // host options
, 'etc/hotfix.yaml' // hotfix options
, 'etc/hotfix.ion' // overwrite options
);
npm loves you