node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org ยป

envloader

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("..");