You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Muqriz 48f16bfc3e initail first 4 ay önce
..
node_modules initail first 4 ay önce
README.md initail first 4 ay önce
electron-versions.js initail first 4 ay önce
index.js initail first 4 ay önce
package.json initail first 4 ay önce
test.js initail first 4 ay önce
types.d.ts initail first 4 ay önce

README.md

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