1.0.7 • Published 4 years ago

is-development-mode v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

is-development-mode

Determine whether Node is running in development mode.

🤯 Mind blowing stuff 🤯

Motivation

Everyone else has a silly one-liner in NPM with 8,000,000,000 downloads a week that eventually ends up getting compromised and a security exploit infects the entire internet - so I figured why not me too ¯\_(ツ)_

Installation

NPM: npm install --save-dev is-development-mode

Yarn: yarn add --dev is-development-mode

Usage

import { isDevelopmentMode } from 'is-development-mode';

if (isDevelopmentMode()) {
  console.log('We are in development mode 👍');
}
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago