{"name":"node-abi","version":"3.70.0","keywords":["node","electron","node_module_version","abi","v8"],"author":{"name":"Lukas Geiger"},"license":"MIT","_id":"node-abi@3.70.0","homepage":"https://github.com/electron/node-abi#readme","bugs":{"url":"https://github.com/electron/node-abi/issues"},"dist":{"shasum":"f45cdea658838fe43d43eb78524cbe3aad73f8ac","tarball":"http://registry-npm.ywwl.com/node-abi/download/node-abi-3.70.0.tgz","fileCount":5,"integrity":"sha512-xMTIZdvAyzGyxwOwxXv/8V/f/KAqKWNCeNIIFu2doEtQp9wvMUTam036At/iVtJqum6n5ljbAhUmXAUOhyivSA==","signatures":[{"sig":"MEQCIFDTUc7iV2aiagMHt9KJHXDqBm2e9mQoQ9Zw7EqW53ekAiBHqyLIf5D8r7qE+PYNAc+eP/oCkQTsd4DIX/UVcm38kA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16192,"size":3856,"noattachment":false,"key":"/node-abi/-/node-abi-3.70.0.tgz"},"main":"index.js","engines":{"node":">=10"},"gitHead":"0efb91009265bbea60990010fdbc65fad177196e","scripts":{"test":"tape test/index.js","update-abi-registry":"node --unhandled-rejections=strict scripts/update-abi-registry.js"},"_npmUser":{"name":"electron-cfa","email":"info+cfa-npm@electronjs.org"},"repository":{"url":"git+https://github.com/electron/node-abi.git","type":"git"},"_npmVersion":"10.8.2","description":"Get the Node ABI for a given target and runtime, and vice versa.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"semver":"^7.3.5"},"_hasShrinkwrap":false,"devDependencies":{"got":"^11.8.2","tape":"^5.3.1"},"_npmOperationalInternal":{"tmp":"tmp/node-abi_3.70.0_1728992617114_0.10227051107509877","host":"s3://npm-registry-packages"},"readme":"# Node.js ABI\n\n[![Build Status](https://circleci.com/gh/electron/node-abi/tree/main.svg?style=shield)](https://circleci.com/gh/electron/node-abi/tree/main)\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```\nnpm install node-abi\n```\n\n## Usage\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":1728992617303,"maintainers":[{"name":"electron-cfa","email":"info+cfa-npm@electronjs.org"}],"_cnpm_publish_time":1728992617303,"dist-tags":{"latest":"4.43.0","release-3.x":"3.104.0"}}