2.0.4 • Published 2 years ago

@types/libnpmexec v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/libnpmexec

Summary

This package contains type definitions for libnpmexec (https://github.com/npm/libnpmexec#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/libnpmexec.

index.d.ts

// Type definitions for libnpmexec 2.0
// Project: https://github.com/npm/libnpmexec#readme
// Definitions by: jameswilddev <https://github.com/jameswilddev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

declare function libnpmexec(opts: {
    readonly args: ReadonlyArray<string>;
    readonly call?: string;
    readonly cache?: string;
    readonly npxCache?: string;
    readonly color?: boolean;
    readonly localBin?: string;
    readonly locationMsg?: string;
    readonly log?: {
        disableProgress?(): void;
        enableProgress?(): void;
        warn(title: string, message: string): void;
    };
    readonly globalBin?: string;
    readonly output?: (message: string) => void;
    readonly packages?: ReadonlyArray<string>;
    readonly path?: string;
    readonly runPath?: string;
    readonly scriptShell?: string;
    readonly yes?: boolean;
    readonly registry?: string;
}): Promise<{
    readonly code: number
    readonly signal: string
    readonly stdout: Buffer | string
    readonly stderr: Buffer | string
    readonly path: string
    readonly event: string
    readonly script: string
}>;

export = libnpmexec;

Additional Details

  • Last updated: Thu, 22 Jul 2021 21:01:20 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by jameswilddev.

2.0.3

2 years ago

2.0.2

2 years ago

2.0.4

2 years ago

2.0.1

2 years ago

2.0.0

4 years ago