is-development
v1.0.2
Published
Detect if you are in development mode of the nodejs
Downloads
23
Readme
is-development
Detect if you are in the DEVELOPMENT mode of the nodejs
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
- Translate your great project react-translate-maker
- Google Analytics react-g-analytics
- Google AdSense via Google Publisher Tag react-google-publisher-tag