Node.js module to load a .env file into process.env for when you can't use foreman
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.eslintrc
.gitignore
LICENSE
README.md
envloader.js
package.json

README.md

EnvLoader

Codeship Status for tqc/envloader

Loads a .env file into process.env for when you can't use foreman

Installation

npm install envloader

Usage

To load ./.env

require("envloader").load();

To load ../.env

require("envloader").load("..");