npm.io
4.0.3 • Published 2 years ago

@types/get-installed-path

Licence
MIT
Version
4.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Jamie Magee.