tode

0.0.1 • Public • Published

tode

Launch node with TOML files for configuration. It simply populates your environment variables from any TOML files it can find by looking up the directory tree. It loads from environment.toml by default, but this is configurable if you need to be able to quickly swap your environment out.

Build Status Dependency Status NPM version

Installation

npm install tode -g

Usage

To run server.js with the configuration file of environment.toml:

tode

To run index.js with the configuration file of environment.toml:

tode index.js

To run server.js with the configuration file of config.toml:

tode config.toml

To run index.js with the configuration file of config.toml:

tode config.toml index.js

License

MIT

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i tode

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • forbeslindesay