is-electron
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.2.2
    1,181,611
    • latest

Version History

Package Sidebar

Install

npm i is-electron

Weekly Downloads

1,516,190

Version

2.2.2

License

MIT

Unpacked Size

3.26 kB

Total Files

6

Last publish

Collaborators

  • cheton