npm.io
2.2.2 • Published 3 years ago

is-electron

Licence
MIT
Version
2.2.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
104

is-electron build status Coverage Status

NPM

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.

Keywords