# @types/getpass

> TypeScript definitions for getpass

Latest version **0.1.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/getpass
pnpm add @types/getpass
yarn add @types/getpass
bun add @types/getpass
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2023-11-07 |
| First published | 2019-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51393 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/getpass
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/getpass
- npm.io page: https://npm.io/package/@types/getpass

## Recent versions

- 0.1.3 (latest) — 2023-11-07
- 0.1.1 (ts3.6) — 2021-07-06
- 0.1.0 (ts2.0) — 2019-04-19
- 0.1.2 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/getpass/index.d.ts)
````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](https://github.com/claasahl).

---
_Source: https://npm.io/package/@types/getpass · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
