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.

/enforce-envvars/

    Package Sidebar

    Install

    npm i enforce-envvars

    Weekly Downloads

    3

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • ierceg