node package manager

envloader

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

EnvLoader

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

npm install envloader

To load ./.env

require("envloader").load();

To load ../.env

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