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

4.0.3 • Public • Published

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.

/@types/get-installed-path/

    Package Sidebar

    Install

    npm i @types/get-installed-path

    Weekly Downloads

    2,615

    Version

    4.0.3

    License

    MIT

    Unpacked Size

    3.21 kB

    Total Files

    5

    Last publish

    Collaborators

    • types