{"_id":"@shiftkey/node-abi","_rev":"168427","name":"@shiftkey/node-abi","description":"Get the Node ABI for a given target and runtime, and vice versa.","dist-tags":{"latest":"2.19.2-pre"},"maintainers":[{"name":"shiftkey","email":"brendan.forster@github.com"}],"time":{"modified":"2021-06-03T11:49:01.000Z","created":"2020-11-08T18:08:51.108Z","2.19.2-pre":"2020-11-08T18:08:51.108Z"},"users":{},"author":{"name":"Lukas Geiger"},"repository":{"type":"git","url":"git+https://github.com/lgeiger/node-abi.git"},"versions":{"2.19.2-pre":{"name":"@shiftkey/node-abi","version":"2.19.2-pre","description":"Get the Node ABI for a given target and runtime, and vice versa.","main":"index.js","scripts":{"semantic-release":"semantic-release","test":"tape test/index.js","travis-deploy-once":"travis-deploy-once","update-abi-registry":"node --unhandled-rejections=strict scripts/update-abi-registry.js"},"repository":{"type":"git","url":"git+https://github.com/lgeiger/node-abi.git"},"keywords":["node","electron","node_module_version","abi","v8"],"author":{"name":"Lukas Geiger"},"license":"MIT","bugs":{"url":"https://github.com/lgeiger/node-abi/issues"},"homepage":"https://github.com/lgeiger/node-abi#readme","devDependencies":{"got":"^10.6.0","semantic-release":"^15.8.0","tape":"^4.6.3","travis-deploy-once":"^5.0.1"},"dependencies":{"semver":"^5.4.1"},"gitHead":"7931a5db63b3b01114b5d5954dc489800824112d","_id":"@shiftkey/node-abi@2.19.2-pre","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"shasum":"02599b37253e414f8f6ef3c67ea704e37da640a9","size":8416,"noattachment":false,"key":"/@shiftkey/node-abi/-/@shiftkey/node-abi-2.19.2-pre.tgz","tarball":"http://registry.cnpm.dingdandao.com/@shiftkey/node-abi/download/@shiftkey/node-abi-2.19.2-pre.tgz"},"_npmUser":{"name":"shiftkey","email":"brendan.forster@github.com"},"directories":{},"maintainers":[{"name":"shiftkey","email":"brendan.forster@github.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-abi_2.19.2-pre_1604858930914_0.18168254902967695"},"_hasShrinkwrap":false,"publish_time":1604858931108,"_cnpm_publish_time":1604858931108}},"readme":"# Node.js ABI\n\n[![Build Status](https://travis-ci.org/lgeiger/node-abi.svg?branch=v1.0.0)](https://travis-ci.org/lgeiger/node-abi) [![Greenkeeper badge](https://badges.greenkeeper.io/lgeiger/node-abi.svg)](https://greenkeeper.io/)\n\n\nGet the Node ABI 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/LTS\n","_attachments":{},"homepage":"https://github.com/lgeiger/node-abi#readme","bugs":{"url":"https://github.com/lgeiger/node-abi/issues"},"license":"MIT"}