Π·Π΅Ρ€ΠΊΠ°Π»ΠΎ ΠΈΠ·
1
0
Π€ΠΎΡ€ΠΊΠ½ΡƒΡ‚ΡŒ 0
🐒 πŸš€ Get the Node.js and Electron ABI for a given target and runtime
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
dependabot[bot] c9d3a6dbdc
build(deps): bump continuousauth/action from 1.0.4 to 1.0.5 (#197)
Bumps [continuousauth/action](https://github.com/continuousauth/action) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/continuousauth/action/releases)
- [Changelog](https://github.com/continuousauth/action/blob/main/.releaserc.json)
- [Commits](732eeb237a...4e8a2573ee)

---
updated-dependencies:
- dependency-name: continuousauth/action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-14 13:58:34 -08:00
.github build(deps): bump continuousauth/action from 1.0.4 to 1.0.5 (#197) 2024-11-14 13:58:34 -08:00
scripts chore: remove got dependency (#188) 2024-10-18 14:10:13 -07:00
test
…
.gitignore
…
.releaserc.json
…
CONTRIBUTING.md ci: switch to GHA (#194) 2024-11-13 12:39:52 +01:00
LICENSE
…
README.md ci: switch to GHA (#194) 2024-11-13 12:39:52 +01:00
abi_registry.json feat: update ABI registry 2024-10-16 00:19:24 +00:00
index.js
…
package.json ci: switch to GHA (#194) 2024-11-13 12:39:52 +01:00
yarn.lock chore: remove got dependency (#188) 2024-10-18 14:10:13 -07:00

README.md

Node.js ABI

Build Status Auto-update ABI JSON file Snyk badge npm version

Get the Node ABI (application binary interface) for a given target and runtime, and vice versa.

Installation

npm install node-abi

Usage

const nodeAbi = require('node-abi')

nodeAbi.getAbi('7.2.0', 'node')
// '51'
nodeAbi.getAbi('1.4.10', 'electron')
// '50'
nodeAbi.getTarget('51', 'node')
// '7.2.0'
nodeAbi.getTarget('50', 'electron')
// '1.4.15'

nodeAbi.allTargets
// [
//  { runtime: 'node', target: '0.10.48', abi: '11', lts: false },
//  { runtime: 'node', target: '0.12.17', abi: '14', lts: false },
//  { runtime: 'node', target: '4.6.1', abi: '46', lts: true },
//  { runtime: 'node', target: '5.12.0', abi: '47', lts: false },
//  { runtime: 'node', target: '6.9.4', abi: '48', lts: true },
//  { runtime: 'node', target: '7.4.0', abi: '51', lts: false },
//  { runtime: 'electron', target: '1.0.2', abi: '47', lts: false },
//  { runtime: 'electron', target: '1.2.8', abi: '48', lts: false },
//  { runtime: 'electron', target: '1.3.13', abi: '49', lts: false },
//  { runtime: 'electron', target: '1.4.15', abi: '50', lts: false }
// ]
nodeAbi.deprecatedTargets
nodeAbi.supportedTargets
nodeAbi.additionalTargets
nodeAbi.futureTargets
// ...

References