enforce-envvars
v1.1.0
Published
Enforces existence of necessary envvars
Downloads
7
Readme
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.