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.
Detect if running in Electron.
npm install --save is-electron
import isElectron from 'is-electron';
console.log(isElectron());
Copyright (c) 2016 Cheton Wu
Licensed under the MIT License.
npm i is-electron
1,438,680
2.2.2
MIT
3.26 kB
6