1.0.0 • Published 8 years ago
with-env v1.0.0
With .env
Read and then apply .env file in the working directory, assuming the .env exists
Install
$ npm install with-env
Usage
require('with-env')();
console.log(process.env.MY_VARIABLE);
Read and then apply .env file in the working directory, assuming the .env exists
$ npm install with-env
require('with-env')();
console.log(process.env.MY_VARIABLE);