is-electron
Detect if running in Electron.
Last updated 2 years ago by cheton .
MIT · Repository · Original npm · Tarball · package.json
$ npm 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.2                                ...           latest (2 years ago)

6 Versions

  • 2.2.2                                ...           2 years ago
  • 2.2.1                                ...           3 years ago
  • 2.2.0                                ...           6 years ago
  • 2.1.0                                ...           7 years ago
  • 2.0.0                                ...           9 years ago
  • 0.0.1-security                                ...           9 years ago
Maintainers (1)
Downloads
Total 2
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE