# @jace1995/prompt

> Sync readline implementation for Node.js console, imitates browser prompt

Latest version **2.0.1** (published 2019-11-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install @jace1995/prompt
pnpm add @jace1995/prompt
yarn add @jace1995/prompt
bun add @jace1995/prompt
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2019-11-15 |
| First published | 2018-02-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jace |
| Maintainers | jace1995 |
| Keywords | prompt, readline, read, line, console, input |

## Links

- npm: https://www.npmjs.com/package/@jace1995/prompt
- npm.io page: https://npm.io/package/@jace1995/prompt

## Dependencies (3)

- [@types/node](https://npm.io/package/@types/node.md) ^12.12.7
- [prompt-sync](https://npm.io/package/prompt-sync.md) ^4.1.7
- [@types/prompt-sync](https://npm.io/package/@types/prompt-sync.md) ^4.1.0

## 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

- 2.0.1 (latest) — 2019-11-15
- 2.0.0 — 2019-11-15
- 1.0.2 — 2018-03-02
- 1.0.1 — 2018-03-02
- 1.0.0 — 2018-02-23

## README

# @jace1995/prompt

> Sync readline implementation for Node.js console, imitates browser prompt

## Install

```bash
npm i -S @jace1995/prompt
```
```bash
yarn add @jace1995/prompt
```

## Usage

```typescript
import '@jace1995/prompt';

const username = prompt('Input your name: ');
console.log(`Hello, ${username}!`);
```

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