Nuclear Potato Monster

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

    2.2.1 • 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

    540,879

    Version

    2.2.1

    License

    MIT

    Unpacked Size

    3.26 kB

    Total Files

    5

    Last publish

    Collaborators

    • cheton