{"_id":"@antigravities/modules-abi","name":"@antigravities/modules-abi","dist-tags":{"latest":"1.1.2"},"versions":{"1.1.2":{"name":"@antigravities/modules-abi","version":"1.1.2","description":"Get ABI and version for common node runtimes (node, NW.js, Electron)","main":"dist/src/index.cjs","type":"module","types":"dist/src/index.d.ts","exports":{".":{"import":{"default":"./dist/src/index.js"},"require":{"default":"./dist/src/index.cjs"}}},"bin":{"modules-abi":"dist/bin/index.js"},"packageManager":"pnpm@7.16.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/armaldio/modules-abi.git"},"author":{"name":"Quentin Goinaud","email":"armaldio@gmail.com","url":"https://armaldio.xyz"},"engines":{"node":">=18"},"scripts":{"test":"uvu -r tsm test","watch-test":"uvu -w -r tsm test","start":"tsm examples/index.ts","doc":"typedoc src/index.ts","release":"np --any-branch","build":"tsup --entry src/index.ts --entry bin/index.ts --target es2020 --format esm,cjs --dts --sourcemap --minify --shims","watch":"tsup --entry src/index.ts --entry bin/index.ts --target es2020 --format esm,cjs --dts --sourcemap --watch --shims"},"keywords":[],"dependencies":{"is-online":"^10.0.0","mri":"^1.2.0","semver":"^7.3.8"},"devDependencies":{"@types/node":"^18.11.9","@types/semver":"^7.3.13","@typescript-eslint/eslint-plugin":"^5.43.0","@typescript-eslint/parser":"^5.43.0","eslint":"^8.27.0","eslint-plugin-compat":"^4.0.2","node-abi":"^3.28.0","np":"^7.6.2","tsm":"^2.2.2","tsup":"^6.5.0","typedoc":"^0.23.21","typescript":"^4.9.3","uvu":"^0.5.6"},"gitHead":"7e5bd74d8f9fe99c4802d72815cde9b1c6263a3c","bugs":{"url":"https://github.com/armaldio/modules-abi/issues"},"homepage":"https://github.com/armaldio/modules-abi#readme","_id":"@antigravities/modules-abi@1.1.2","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-RnOXF+acOgrUw8Vw7DkJYDzAxB75uEncfCoUu6FKAPgBqm/8HFvLDySLZVDdNEgWg3llnxcckFBuC88wga9wRw==","shasum":"212673d7fcdf129e953e80a7ffc44958c7f4d9e1","tarball":"https://registry.npmjs.org/@antigravities/modules-abi/-/modules-abi-1.1.2.tgz","fileCount":15,"unpackedSize":65259,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAVeWetIj87XovXmcBcTS5X7jSIJXnQyj16xTBagS8DMAiAIDjkaq5PnJjaae60lvTX20Vvqa8Je7COTLfH0mZy8bQ=="}]},"_npmUser":{"name":"antigravities","email":"alexandra@cutie.cafe"},"directories":{},"maintainers":[{"name":"antigravities","email":"alexandra@cutie.cafe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/modules-abi_1.1.2_1692657378092_0.6948726124695441"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-21T22:36:17.978Z","1.1.2":"2023-08-21T22:36:18.275Z","modified":"2023-08-21T22:36:18.549Z"},"maintainers":[{"name":"antigravities","email":"alexandra@cutie.cafe"}],"description":"Get ABI and version for common node runtimes (node, NW.js, Electron)","homepage":"https://github.com/armaldio/modules-abi#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/armaldio/modules-abi.git"},"author":{"name":"Quentin Goinaud","email":"armaldio@gmail.com","url":"https://armaldio.xyz"},"bugs":{"url":"https://github.com/armaldio/modules-abi/issues"},"license":"MIT","readme":"# modules-abi\n\n![](https://badgen.net/github/release/armaldio/modules-abi/stable)\n![](https://badgen.net/github/last-commit/armaldio/modules-abi)\n![](https://badgen.net/github/dependents-repo/armaldio/modules-abi/)\n![](https://badgen.net/npm/dw/modules-abi/)\n![](https://badgen.net/npm/license/modules-abi/)\n![](https://badgen.net/github/dependabot/armaldio/modules-abi)\n![](https://github.com/Armaldio/modules-abi/workflows/Test/badge.svg)\n\n> Easily query abi and target versions of common desktop runtimes (electron, nw.js, node)\n\n## Install\n\n```\n$ npm install modules-abi\n$ yarn add modules-abi\n$ pnpm add modules-abi\n```\n\n## Usage\n\n```js\nimport { getAbi, getRange, getRuntime, getTarget } from 'modules-abi';\n```\n\nTo view detailled informations about the API, please see the [documentation](https://armaldio.github.io/modules-abi/)\n\n## Comparison to node-abi\n`node-abi` is:\n- hand-written (require pull requests to update, slow updates)\n- it's not always up to date\n- it's missing a lot of versions\n- it's missing nw.js versions\n","readmeFilename":"README.md"}