Installation
npm install --save @types/get-installed-path
Summary
This package contains type definitions for get-installed-path (https://github.com/tunnckoCore/get-installed-path).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-installed-path.
index.d.ts
export function getInstalledPath(name: string, opts?: Options): Promise<string>;
export function getInstalledPathSync(name: string, opts?: Options): string;
export interface Options {
cwd?: string | undefined;
local?: boolean | undefined;
paths?: readonly string[] | undefined;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Jamie Magee.