dpd-dotenv

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i dpd-dotenv

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.17 kB

Total Files

5

Last publish

Collaborators

  • ezraobiwale