is-development

Detect if you are in development mode of the nodejs

Usage no npm install needed!

<script type="module">
  import isDevelopment from 'https://cdn.skypack.dev/is-development';
</script>

README

is-development

Detect if you are in the DEVELOPMENT mode of the nodejs

NPM version

Support us

Star this project on GitHub.

Usage ES6

import isDevelopment from 'is-development';

if (isDevelopment) {
  console.log('You are in the development mode');
}

Usage ES5

var isDevelopment = require('is-development');

if (isDevelopment) {
  console.log('You are in the development mode');
}

Try our other React components

Credits

Zlatko Fedor