1.0.1 • Published 5 years ago
dpd-dotenv v1.0.1
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