assert-env

0.6.0 • Public • Published

assert-env

Build Status NPM version NPM downloads LICENSE

Assert that specific environment variables exist.

$ npm install assert-env

API

When one or more keys are missing, a ReferenceError is thrown.

require('assert-env')([
  'HTTP_LISTEN_PORT',
  'HTTP_LISTEN_HOST'
]);

Complements

Alternatives

License

MIT

Package Sidebar

Install

npm i assert-env

Weekly Downloads

415

Version

0.6.0

License

MIT

Last publish

Collaborators

  • wilmoore