# callbag-from-readline

> Create a callbag from a readline interface

Latest version **1.0.0** (published 2019-12-02) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install callbag-from-readline
pnpm add callbag-from-readline
yarn add callbag-from-readline
bun add callbag-from-readline
```

## 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-12-02 |
| First published | 2019-12-02 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Risto Stevcev |
| Maintainers | ristostevcev |

## Links

- npm: https://www.npmjs.com/package/callbag-from-readline
- Repository: https://github.com/Risto-Stevcev/callbag-from-readline
- Homepage: https://github.com/Risto-Stevcev/callbag-from-readline#readme
- Issues: https://github.com/Risto-Stevcev/callbag-from-readline/issues
- npm.io page: https://npm.io/package/callbag-from-readline

## Recent versions

- 1.0.0 (latest) — 2019-12-02

## README

# callbag-from-readline

Create a callbag from a readline interface


## Install

```sh
yarn install callbag-from-readline
```


## Usage

```js
const { createInterface } = require('readline')
const { PassThrough } = require('stream')
const { pipe, forEach } = require('callbag-basics')
const fromReadline = require('callbag-from-readline')

const input = new PassThrough()
input.write('foo\nbar')
input.write('norf\nbaz\n')
input.write('worble\n')
input.end()

pipe(
  createInterface({ input }),
  fromReadline,
  forEach(console.log)
)
/*
foo
barnorf
baz
worble
*/
```


## License

See LICENSE

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