# @types/node-abi

> TypeScript definitions for node-abi

Latest version **3.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/node-abi
pnpm add @types/node-abi
yarn add @types/node-abi
bun add @types/node-abi
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.3 |
| Published | 2023-11-07 |
| First published | 2019-08-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/node-abi
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-abi
- npm.io page: https://npm.io/package/@types/node-abi

## Recent versions

- 3.0.3 (latest) — 2023-11-07
- 3.0.0 (ts3.7) — 2021-09-13
- 2.10.0 (ts2.0) — 2019-08-01
- 3.0.2 — 2023-10-18
- 3.0.1 — 2023-09-23

## README

# Installation
> `npm install --save @types/node-abi`

# Summary
This package contains type definitions for node-abi (https://github.com/lgeiger/node-abi#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-abi.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-abi/index.d.ts)
````ts
export type Runtime = "electron" | "node" | "node-webkit";
export interface Target {
    abi: string;
    lts: boolean;
    runtime: Runtime;
    target: string;
}

export let additionalTargets: Target[];
export let allTargets: Target[];
export let deprecatedTargets: Target[];
export let futureTargets: Target[];
export let supportedTargets: Target[];

export function getAbi(target: string, runtime?: Runtime): string;
export function getTarget(abi?: string | null, runtime?: Runtime): string;
export function _getNextTarget(runtime: Runtime, targets?: Target[]): string | null;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Florian Keller](https://github.com/ffflorian).

---
_Source: https://npm.io/package/@types/node-abi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
