letenv
v0.2.0
Published
Loads environment variables from `.env` if present.
Downloads
19
Maintainers
Readme
letenv
Loads environment variables from
.env
if present.
Install
// cli
npm install -g letenv
// api
npm install --save letenv
Usage
CLI
letenv
API
require('letenv')()
// => process.env is not populated
.env
file
A classic key-value pair file:
NODE_ENV=test
WASABI=good
License
MIT © Nicolas Gryman