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

0.1.3 • Public • Published

Installation

npm install --save @types/getpass

Summary

This package contains type definitions for getpass (https://github.com/arekinath/node-getpass#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/getpass.

index.d.ts

export interface Options {
    prompt?: string | undefined;
}

export interface Callback {
    (error: Error | null, password: string): void;
}

export function getPass(cb: Callback): void;
export function getPass(options: Options, cb: Callback): void;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Claas Ahlrichs.

/@types/getpass/

    Package Sidebar

    Install

    npm i @types/getpass

    Weekly Downloads

    8,645

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    3.04 kB

    Total Files

    5

    Last publish

    Collaborators

    • types