Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 684 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 684 Bytes

is-electron build status Coverage Status

NPM

Detect if running in Electron.

Installation

npm install --save @cheton/is-electron

Usage

import isElectron from '@cheton/is-electron';

console.log(isElectron());

License

Copyright (c) 2016 Cheton Wu

Licensed under the MIT License.