1.0.1 • Published 5 years ago

dpd-dotenv v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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

1.0.1

5 years ago

1.0.0

7 years ago