enforce-envvars

1.1.0 • Public • Published

node-enforce-envvars

Enforces existence of necessary envvars

Install

npm install enforce-envvars --save

Example

require('enforce-envvars')(['VAR_X', 'VAR_Y', 'VAR_Z']);

If any of these 3 variables is not defined a new exception will be thrown.

Package Sidebar

Install

npm i enforce-envvars

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • ierceg