check-env-config

1.0.2 • Public • Published

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)
});

Readme

Keywords

none

Package Sidebar

Install

npm i check-env-config

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

3.37 kB

Total Files

6

Last publish

Collaborators

  • clementemerson