Skip to content

tellnes/nconf-yaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

YAML format plugin for nconf

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •