0.0.2 • Published 8 years ago

nconf-toml v0.0.2

Weekly downloads
629
License
MIT
Repository
github
Last release
8 years ago

nconf-toml NPM version

Build Status Dependency Status

TOML format plugin for nconf.

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