Detect if running in Electron.
npm install is-electron
Detect if running in Electron.
``bash`
npm install --save is-electron
`js
import isElectron from 'is-electron';
console.log(isElectron());
``
Copyright (c) 2016 Cheton Wu
Licensed under the MIT License.