{"name":"node-abi","version":"3.76.0","keywords":["node","electron","node_module_version","abi","v8"],"author":{"name":"Lukas Geiger"},"license":"MIT","_id":"node-abi@3.76.0","maintainers":[{"name":"electron-cfa","email":"info+cfa-npm@electronjs.org"}],"homepage":"https://github.com/electron/node-abi#readme","bugs":{"url":"https://github.com/electron/node-abi/issues"},"dist":{"shasum":"b6113facd47ba4ad41e9f7e320f4d23338039948","tarball":"http://registry-npm.ywwl.com/node-abi/download/node-abi-3.76.0.tgz","fileCount":5,"integrity":"sha512-vxPAUdXYJ2Vv8bUWSpbC/A4ltEdMYO4ruzMXrb99BbZz0IMmrt6xLhYirTIhOMk2dpsbjby+PZEhUkHIeMXM4g==","signatures":[{"sig":"MEQCIEBvb+52/4g/jCWck15QAyJ2qv9KDSu0/7bbhHrBiYuUAiAc7bKc9A3GnLW9+y2SKcDMnSEn1kn0JYDbQN0S5UvXng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/node-abi@3.76.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17246,"size":3970,"noattachment":false,"key":"/node-abi/-/node-abi-3.76.0.tgz"},"main":"index.js","engines":{"node":">=10"},"gitHead":"0bdd940038601a9129db63f8b717b48f24753d86","scripts":{"test":"tape test/index.js","update-abi-registry":"node --unhandled-rejections=strict scripts/update-abi-registry.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ee208878-c736-485f-886b-98afc1619f46"}},"repository":{"url":"git+https://github.com/electron/node-abi.git","type":"git"},"_npmVersion":"11.6.0","description":"Get the Node ABI for a given target and runtime, and vice versa.","directories":{},"_nodeVersion":"20.19.4","dependencies":{"semver":"^7.3.5"},"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22","readmeFilename":"README.md","devDependencies":{"tape":"^5.3.1","semantic-release":"^24.2.7","@semantic-release/npm":"13.0.0-alpha.15"},"_npmOperationalInternal":{"tmp":"tmp/node-abi_3.76.0_1756930181864_0.9708052539038692","host":"s3://npm-registry-packages-npm-production"},"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":1756930182064,"_cnpm_publish_time":1756930182064,"dist-tags":{"latest":"4.43.0","release-3.x":"3.104.0"}}