check-env-config
v1.0.2
Published
Checks whether all required env-vars are set in the deployment environment
Downloads
11
Readme
check-env-config
Checks whether all the required env-vars are set in the deployment environment
Install
$ npm install --save check-env-config
Usage
var checkEnv = require('check-env-config');
checkEnv(['REQUIRED_VAR1', 'REQUIRED_VAR2'], (unsetVars, varsAndValues) => {
console.log(unsetVars)
console.log(varsAndValues)
});