Socket
Socket
Sign inDemoInstall

node-api-version

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-api-version

Gets the supported Node-API version for a specific node or electron version


Version published
Weekly downloads
184K
increased by17.07%
Maintainers
1
Weekly downloads
 
Created
Source

node-api-version

Get the maximum Node-API version supported for a specific version of node or Electron.

const { fromNodeVersion, fromElectronVersion } = require("node-api-version");

fromNodeVersion("9.0.0"); // undefined
fromNodeVersion("12.13.0"); // 5

fromElectronVersion("2.0.0"); // undefined
fromElectronVersion("13.0.0"); // 7
fromElectronVersion("15.0.0-nightly.20210629"); // 8

FAQs

Package last updated on 30 Jun 2021

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

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