Installation
npm install --save @types/global-npm
Summary
This package contains type definitions for global-npm (https://github.com/dracupid/global-npm).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/global-npm.
index.d.ts
import * as npm from "npm";
interface GlobalNPM {
GLOBAL_NPM_PATH: string;
GLOBAL_NPM_BIN: string;
}
declare var globalNPM: GlobalNPM & typeof npm;
export = globalNPM;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/npm
Credits
These definitions were written by Waseem Dahman.