nconf-toml
v0.0.2
Published
TOML format plugin for nconf.
Downloads
1,053
Readme
nconf-toml
Install
npm install --save nconf nconf-toml
Usage
var nconf = require('nconf')
nconf.file({
file: '/path/to/some/file.toml',
format: require('nconf-toml')
})
Or to add general TOML file support
var nconf = require('nconf')
nconf.formats.toml = require('nconf-toml')
// and then you can do
nconf.file({ file: '/path/to/some/file.toml', format: nconf.formats.toml })
License
MIT