# npm-ioservice

> An NPM package that simplifies the readline and IO processes.

Latest version **1.7.0** (published 2023-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install npm-ioservice
pnpm add npm-ioservice
yarn add npm-ioservice
bun add npm-ioservice
```

## 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 | 1.7.0 |
| Published | 2023-09-10 |
| First published | 2023-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Kent Louise Tonino |
| Maintainers | kentlouisetonino |
| Keywords | readline-promises, input-output |

## Links

- npm: https://www.npmjs.com/package/npm-ioservice
- Repository: https://github.com/kentlouisetonino/npm-ioservice
- npm.io page: https://npm.io/package/npm-ioservice

## Dependencies (3)

- [prettier](https://npm.io/package/prettier.md) ^3.0.3
- [typescript](https://npm.io/package/typescript.md) ^5.2.2
- [@types/node](https://npm.io/package/@types/node.md) ^20.6.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

- 1.7.0 (latest) — 2023-09-10
- 1.6.0 — 2023-09-10
- 1.5.0 — 2023-09-10
- 1.4.0 — 2023-09-10
- 1.3.0 — 2023-09-10
- 1.2.0 — 2023-09-09
- 1.1.0 — 2023-09-09
- 1.0.0 — 2023-09-09

## README

### [ `Description` ]

> - An NPM package that simplies the readline and IO service.

<br />
<br />

### [ `Documentation` ]

```typescript
// Note: This works well in node version 18.
Import IOService from 'npm-ioservice'

(async function() {
  // Create and IO instance.
  const io = IOService.instance();

  // Ask for input.
  // Always await this process.
  const input = await io.question("Value: ");

  // Log the output.
  console.log(input);

  // Exit the io instance.
  io.close();
})();
```

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