All Projects → BinaryMuse → toml-require

BinaryMuse / toml-require

Licence: MIT license
require() .toml files in Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

toml-require

require() your .toml files in Node.js. Uses the Node toml package.

Build Status

NPM

Installation

npm install [--save] toml-require

Usage

require('toml-require').install(options);
require('./myConfig.toml');

options is optional, but takes the following keys:

  • toml: toml-require will use it's own version of toml by default, but if you want to specify a particular version of the toml package, 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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].