nconf-yaml

1.0.2 • Public • Published

nconf-yaml

Version npmnpm DownloadsDependenciesBuild StatusTips

YAML format plugin for nconf

Usage

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

Install

npm install nconf nconf-yaml

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    26,411
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    26,411
  • 1.0.1
    7
  • 1.0.0
    0

Package Sidebar

Install

npm i nconf-yaml

Weekly Downloads

26,418

Version

1.0.2

License

MIT

Last publish

Collaborators

  • tellnes