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