@types/node-abi
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/node-abi

Weekly Downloads

6,899

Version

3.0.3

License

MIT

Unpacked Size

3.7 kB

Total Files

5

Last publish

Collaborators

  • types