Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

is-electron

2.2.0 • 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.

Install

npm i is-electron

DownloadsWeekly Downloads

47,212

Version

2.2.0

License

MIT

Unpacked Size

3.25 kB

Total Files

5

Last publish

Collaborators

  • avatar