# mbr-prompt

> simple password prompt for process.stdin

Latest version **1.0.0** (published 2019-08-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install mbr-prompt
pnpm add mbr-prompt
yarn add mbr-prompt
bun add mbr-prompt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-08-24 |
| First published | 2019-08-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | MadBrozzeR |
| Maintainers | madbrozzer |
| Keywords | prompt, stdout, password, tty |

## Links

- npm: https://www.npmjs.com/package/mbr-prompt
- Repository: https://github.com/madbrozzer/prompt
- Homepage: https://github.com/madbrozzer/prompt#readme
- Issues: https://github.com/madbrozzer/prompt/issues
- npm.io page: https://npm.io/package/mbr-prompt

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-08-24

## README

# mbr-prompt

Simple password prompt for NodeJS process. No symbols are being displayed while typing.

```
const prompt = require('mbr-prompt');

prompt('Please enter your password', function (password) {
  console.log('Entered password is:', password);
});
```

First argument is user-readable string - password input invitation.

Second argument is a callback, which receives user input value as an argument after Enter was pressed.

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