YAML format plugin for nconf
var nconf = require('nconf')
nconf.file({
file: '/path/to/some/file.yaml',
format: require('nconf-yaml')
})
or to add general YAML file support
var nconf = require('nconf')
nconf.formats.yaml = require('nconf-yaml')
// and then you can do
nconf.file({ file: '/path/to/some/file.yaml', format: nconf.formats.yaml })
npm install nconf nconf-yaml
MIT