{"name":"node-abi","version":"4.2.0","description":"Get the Node ABI for a given target and runtime, and vice versa.","type":"module","exports":"./index.js","scripts":{"test":"node --test test/index.js","update-abi-registry":"node --unhandled-rejections=strict scripts/update-abi-registry.js"},"repository":{"type":"git","url":"git+https://github.com/electron/node-abi.git"},"keywords":["node","electron","node_module_version","abi","v8"],"author":{"name":"Lukas Geiger"},"license":"MIT","bugs":{"url":"https://github.com/electron/node-abi/issues"},"homepage":"https://github.com/electron/node-abi#readme","devDependencies":{},"dependencies":{"semver":"^7.6.3"},"engines":{"node":">=22.12.0"},"publishConfig":{"provenance":true},"_id":"node-abi@4.2.0","gitHead":"fce7362410b545eb9df7a2e032400940acac6d65","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-admQxilhDcmFJbUl4LQzGu+QyEijW9rctKRH2P7LNavAvln1bdK9OcujM3yi2KysKI41dxTrDtp6QfGEZeCbkg==","shasum":"cf74fb14584a420091723bbb3bb59b6bc4ea639c","tarball":"http://registry-npm.ywwl.com/node-abi/download/node-abi-4.2.0.tgz","fileCount":6,"unpackedSize":16748,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/node-abi@4.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFQNvLELPcR0eO7jztm3qfsI/rBp4ulVTxBDBeAhUu5TAiA0/YEDym/qs0IsbTok+HFotIV0BABaXGyAL+YbVZDAcA=="}],"size":3984,"noattachment":false,"key":"/node-abi/-/node-abi-4.2.0.tgz"},"_npmUser":{"name":"electron-cfa","email":"info+cfa-npm@electronjs.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-abi_4.2.0_1741622519083_0.8430993479726818"},"_hasShrinkwrap":false,"readme":"# Node.js ABI\n\n[![Build Status](https://github.com/electron/node-abi/actions/workflows/test.yml/badge.svg)](https://github.com/electron/node-abi/actions/workflows/test.yml)\n[![Auto-update ABI JSON file](https://github.com/electron/node-abi/actions/workflows/update-abi.yml/badge.svg)](https://github.com/electron/node-abi/actions/workflows/update-abi.yml)\n[![Snyk badge](https://snyk.io/test/github/electron/node-abi/badge.svg)](https://snyk.io/test/github/electron/node-abi)\n[![npm version](http://img.shields.io/npm/v/node-abi.svg)](https://npmjs.org/package/node-abi)\n\nGet the Node ABI (application binary interface) for a given target and runtime, and vice versa.\n\n## Installation\n\n```shell\nnpm install node-abi\n```\n\n## Usage\n\n```javascript\nconst nodeAbi = require('node-abi')\n\nnodeAbi.getAbi('7.2.0', 'node')\n// '51'\nnodeAbi.getAbi('1.4.10', 'electron')\n// '50'\nnodeAbi.getTarget('51', 'node')\n// '7.2.0'\nnodeAbi.getTarget('50', 'electron')\n// '1.4.15'\n\nnodeAbi.allTargets\n// [\n//  { runtime: 'node', target: '0.10.48', abi: '11', lts: false },\n//  { runtime: 'node', target: '0.12.17', abi: '14', lts: false },\n//  { runtime: 'node', target: '4.6.1', abi: '46', lts: true },\n//  { runtime: 'node', target: '5.12.0', abi: '47', lts: false },\n//  { runtime: 'node', target: '6.9.4', abi: '48', lts: true },\n//  { runtime: 'node', target: '7.4.0', abi: '51', lts: false },\n//  { runtime: 'electron', target: '1.0.2', abi: '47', lts: false },\n//  { runtime: 'electron', target: '1.2.8', abi: '48', lts: false },\n//  { runtime: 'electron', target: '1.3.13', abi: '49', lts: false },\n//  { runtime: 'electron', target: '1.4.15', abi: '50', lts: false }\n// ]\nnodeAbi.deprecatedTargets\nnodeAbi.supportedTargets\nnodeAbi.additionalTargets\nnodeAbi.futureTargets\n// ...\n```\n\n## References\n\n- https://github.com/lgeiger/electron-abi\n- https://nodejs.org/en/download/releases/\n- https://github.com/nodejs/Release\n","publish_time":1741622519260,"maintainers":[{"name":"electron-cfa","email":"info+cfa-npm@electronjs.org"}],"_cnpm_publish_time":1741622519260,"dist-tags":{"latest":"4.43.0","release-3.x":"3.104.0"}}