Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-is-dev

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-is-dev - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

index.js
'use strict';
const {app} = require('electron');
const electron = require('electron');
const app = electron.app || electron.remote.app;
const isEnvSet = 'ELECTRON_IS_DEV' in process.env;

@@ -5,0 +7,0 @@ const getFromEnv = parseInt(process.env.ELECTRON_IS_DEV, 10) === 1;

{
"name": "electron-is-dev",
"version": "1.0.0",
"version": "1.0.1",
"description": "Check if Electron is running in development",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -7,3 +7,5 @@ # electron-is-dev

You can use this module directly in both the main and renderer process.
## Install

@@ -10,0 +12,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc