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.
npm install tode -g
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
MIT