Nitrogen Pumpkin Mulch

    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

    Install

    npm i assert-env

    DownloadsWeekly Downloads

    446

    Version

    0.6.0

    License

    MIT

    Last publish

    Collaborators

    • wilmoore