electron-is-dev : Check if Electron is running in development. You can installing electron-is-dev npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install electron-is-dev $ sudo npm install -g electron-is-dev
If want to update the electron-is-dev package execute the command as below,
$ sudo npm update electron-is-dev
Update package globally,
$ npm install -g electron-is-dev
$ sudo git clone https://github.com/rektide/electron-is-dev.git
$ sudo npm install -g ./electron-is-dev
electron-is-dev@0.3.0 /usr/lib/node_modules/electron-is-dev
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall electron-is-dev
Package Name | electron-is-dev |
Version | 0.3.0 |
Description | Check if Electron is running in development |
Released Date | 2017-07-23T18:01:26.332Z |
Published by | sindresorhus |
How to Learn | https://www.npmjs.com/package/electron-is-dev/tutorial |