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.
Name |
Last Commit
e7d91e4a
–
Merge branch 'ocr' into 'master'
|
History
|
Last Update |
---|---|---|
.. | ||
LICENSE | Loading commit data... | |
README.md | Loading commit data... | |
index.d.ts | Loading commit data... | |
index.js | Loading commit data... | |
package.json | Loading commit data... |
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.