3.0.3 • Published 6 months ago

@types/node-abi v3.0.3

Weekly downloads
40,976
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for node-abi 3.0
// Project: https://github.com/lgeiger/node-abi#readme
// Definitions by: Florian Keller <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Mon, 13 Sep 2021 15:31:20 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Florian Keller.

3.0.3

6 months ago

3.0.2

7 months ago

3.0.1

8 months ago

3.0.0

3 years ago

2.10.0

5 years ago