node-api-version
Gets the supported Node-API version for a specific node or electron version
Last updated 3 years ago by timfish .
MIT · Original npm · Tarball · package.json
$ npm install node-api-version 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.0                                ...           latest (a year ago)

6 Versions

  • 0.2.0                                ...           a year ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Total 6
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE