dpd-dotenv
v1.0.1
Published
Read .env file and make the variables available to event scripts
Downloads
5
Maintainers
Readme
dpd-dotenv
Read .env file and make the variables available to event scripts.
Installation
npm install dpd-dotenv --save
Usage
To get an environment variable, call ctx.env(VAR_NAME)
.
The method accepts a default value as the second parameter:
ctx.env(VAR_NAME, 'some default value')
.
License
MIT