New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More โ†’
Socket
Sign inDemoInstall
Socket

electron-to-chromium

Package Overview
Dependencies
Maintainers
1
Versions
1867
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-to-chromium

Provides a list of electron-to-chromium version mappings

1.4.486
Source
npm
Version published
Weekly downloads
58M
0.18%
Maintainers
1
Weekly downloads
ย 
Created

What is electron-to-chromium?

The electron-to-chromium package provides a mapping between Electron versions and Chromium versions. It allows developers to determine which version of Chromium is used in a given version of Electron. This is particularly useful for web developers targeting Electron applications, as it helps in understanding browser compatibility and feature support.

What are electron-to-chromium's main functionalities?

Get Chromium version for a specific Electron version

This feature allows you to get the Chromium version that corresponds to a specific Electron version.

"const electronToChromium = require('electron-to-chromium');
const chromiumVersion = electronToChromium.electronToChromium('9.0.0');
console.log(chromiumVersion); // Outputs the Chromium version used in Electron 9.0.0"

Get Electron versions for a specific Chromium version

This feature allows you to get all Electron versions that use a specific Chromium version.

"const electronToChromium = require('electron-to-chromium');
const electronVersions = electronToChromium.chromiumToElectron('83.0.4103.122');
console.log(electronVersions); // Outputs an array of Electron versions using Chromium 83.0.4103.122"

Get full list of Electron-to-Chromium mappings

This feature provides the full list of mappings between Electron and Chromium versions.

"const electronToChromium = require('electron-to-chromium');
const fullList = electronToChromium.fullList;
console.log(fullList); // Outputs the complete list of mappings"

Other packages similar to electron-to-chromium

Keywords

electron

FAQs

Package last updated on 07 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts