Skip to content

no-boilerplate/node-enforce-envvars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Enforces existence of necessary envvars

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published