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

electron-isDev

0.1.0 • Public • Published

electron-is-dev

Check if Electron is running in development

Useful for disable debug feature during production mode.

Install

$ npm install --save electron-isDev

Usage

import {isDev} from "./isDev";
 
if (isDev) {
    // Development Mode
} else {
    // Production Mode
}

Related

Install

npm i electron-isDev

DownloadsWeekly Downloads

9

Version

0.1.0

License

MIT

Last publish

Collaborators

  • avatar