Skip to content

an node module to load options with stream mode, option file can be json/ini/yaml/ion file

Notifications You must be signed in to change notification settings

q3boy/options-stream

Repository files navigation

#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
);

About

an node module to load options with stream mode, option file can be json/ini/yaml/ion file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published