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

2.0.4 • Public • Published

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

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

declare function libnpmexec(opts: {
    readonly args: readonly 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?: readonly 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: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: @types/node

Credits

These definitions were written by jameswilddev.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/libnpmexec

Weekly Downloads

323

Version

2.0.4

License

MIT

Unpacked Size

4.58 kB

Total Files

5

Last publish

Collaborators

  • types