node-abi
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/node-abi package

4.3.0 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.3.0
1,022latest

Version History

VersionDownloads (Last 7 Days)Published
4.3.0
1,022
4.2.0
1,770
4.1.0
14
4.0.0
5
3.74.0
3,646,608
3.73.0
229,286
3.72.0
23,163
3.71.0799,928
3.70.04,528
3.69.03,501
3.68.0146,115
3.67.0196,734
3.66.04,504
3.65.0389,417
3.64.014,787
3.63.078,988
3.62.0271,413
3.61.04,194
3.60.015,261
3.59.021,619
3.58.011,218
3.57.077,920
3.56.0257,130
3.55.017,365
3.54.0249,068
3.52.074,929
3.51.0235,335
3.50.09,128
3.49.01,944
3.48.01,345
3.47.0231,249
3.46.04,594
3.45.0163,658
3.44.02,561
3.43.06,693
3.42.0470
3.40.072,515
3.37.0253
3.36.06
3.35.014,266
3.34.03,502
3.33.096,534
3.32.03,224
3.31.026,132
3.30.032,830
3.28.052,296
3.27.04
3.26.04,674
3.25.06,756
3.24.028,068
3.23.02,217
3.22.065,766
3.21.0278
3.15.025,038
3.8.072,380
3.7.01,083
3.5.021,910
3.4.18
3.4.0114
3.3.03,187
3.2.028
3.1.05
3.0.013
2.30.1538,434
2.30.034,365
2.29.09
2.28.039
2.27.010
2.26.011,335
2.25.016
2.24.073
2.23.04
2.22.0100
2.21.09,055
2.20.0174
2.19.3125,275
2.19.219
2.19.130,704
2.19.0105
2.18.011,037
2.17.01,331
2.16.03,543
2.15.06,470
2.14.0278
2.13.010,333
2.12.03,950
2.11.04,660
2.10.0305
2.9.01,615
2.8.01,352
2.7.1759
2.7.049
2.6.061
2.5.11,052
2.5.01,110
2.4.5773
2.4.449
2.4.3474
2.4.26
2.4.1508
2.4.033
2.3.0661
2.2.039
2.1.2242
2.1.1163
2.1.034
2.0.320
2.0.214
2.0.16
2.0.015
1.3.345
1.3.26
1.3.17
1.3.06
1.2.15
1.2.09
1.1.06
1.0.35
1.0.26
1.0.15
1.0.06

Package Sidebar

Install

npm i node-abi

Weekly Downloads

8,531,316

Version

4.3.0

License

MIT

Unpacked Size

16.7 kB

Total Files

6

Last publish

Collaborators

  • electron-cfa