# rx-stdio

> Binding between Node.js stdin/stdout and RxJS Observables.

Latest version **1.0.10** (published 2018-01-13) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install rx-stdio
pnpm add rx-stdio
yarn add rx-stdio
bun add rx-stdio
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2018-01-13 |
| First published | 2017-07-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Thomas Hugel |
| Maintainers | thomas.hugel |
| Keywords | Node.js, stdin, stdout, RxJS |

## Links

- npm: https://www.npmjs.com/package/rx-stdio
- Repository: https://gitlab.com/rx-stdio/rx-stdio
- Homepage: https://gitlab.com/rx-stdio/rx-stdio#README
- Issues: https://gitlab.com/rx-stdio/rx-stdio/issues
- npm.io page: https://npm.io/package/rx-stdio

## Dependencies (2)

- [@types/node](https://npm.io/package/@types/node.md) ^8.5.8
- [@reactivex/rxjs](https://npm.io/package/@reactivex/rxjs.md) ^5.5.6

## Recent versions

- 1.0.10 (latest) — 2018-01-13
- 1.0.9 — 2017-11-07
- 1.0.8 — 2017-11-07
- 1.0.7 — 2017-10-23
- 1.0.6 — 2017-08-01
- 1.0.5 — 2017-08-01
- 1.0.4 — 2017-07-13
- 1.0.3 — 2017-07-13
- 1.0.2 — 2017-07-13
- 1.0.1 — 2017-07-13
- 1.0.0 — 2017-07-13

## README

This module wraps Node's stdin and stdout into the framework of RxJS5.
It was developed using TypeScript 2.3.4.

It defines 2 functions:
* makeRxStdin(), which returns an Observable<string> yielding the lines read from process.stdin
* makeRxStdout(), which returns a Subscriber<any> writing what it gets to process.stdout, using console.log()

Usage (see also the included test):
`makeRxStdin().subscribe(makeRxStdout());`

Build (if necessary): `tsc`

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