are-we-dev

1.0.0 • Public • Published

are-we-dev

const isDev = require('are-we-dev')
console.log(isDev()) // true or false

The answer is "yes" if you aren't staging, production, or test, because many dev boxes don't have NODE_ENV set by default.

You may prefer is-development or is-dev if you want to specifically check for "dev" or "development."

License is MIT.

Package Sidebar

Install

npm i are-we-dev

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

1.42 kB

Total Files

4

Last publish

Collaborators

  • chrisdickinson