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.

Package Sidebar

Install

npm i is-electron

Weekly Downloads

1,604,684

Version

2.2.2

License

MIT

Unpacked Size

3.26 kB

Total Files

6

Last publish

Collaborators

  • cheton