# is-electron [](https://travis-ci.org/cheton/is-electron) [](https://coveralls.io/github/cheton/is-electron?branch=master) [](https://www.npmjs.com/package/is-electron) Detect if running in Electron. ## Installation ```bash npm install --save is-electron ``` ## Usage ```js import isElectron from 'is-electron'; console.log(isElectron()); ``` ## License Copyright (c) 2016 Cheton Wu Licensed under the [MIT License](LICENSE).