Narwhals Prolong Mischief

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

    3.0.0 • 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

    // 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.

    Keywords

    none

    Install

    npm i @types/node-abi

    DownloadsWeekly Downloads

    17,898

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    4.17 kB

    Total Files

    4

    Last publish

    Collaborators

    • types