toml-require
v1.2.0
Published
require() .toml files with Node.js
Downloads
7,005
Readme
toml-require
require() your .toml files in Node.js. Uses the Node toml package.
Installation
npm install [--save] toml-requireUsage
require('toml-require').install(options);
require('./myConfig.toml');options is optional, but takes the following keys:
toml:toml-requirewill use it's own version oftomlby default, but if you want to specify a particular version of thetomlpackage, you can require it yourself and pass it as this option (e.g.require('toml-require').install({toml: require('toml')}))
License
toml-require is licensed under the MIT license. See the LICENSE file for more information.


