is-electron
Detect if running in Electron.
Last updated 7 years ago by cheton .
MIT · Repository · Bugs · Original npm
$ cnpm install is-electron 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 2.2.0                                ...           latest (7 years ago)

1 Versions

  • 2.2.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org