# round-robin-stream

> Forking stream that rotates destination

Latest version **1.0.0** (published 2016-05-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install round-robin-stream
pnpm add round-robin-stream
yarn add round-robin-stream
bun add round-robin-stream
```

## 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 | 2016-05-25 |
| First published | 2016-05-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Brandon Farmer |
| Maintainers | bthesorceror |

## Links

- npm: https://www.npmjs.com/package/round-robin-stream
- Repository: https://github.com/bthesorceror/round-robin-stream
- Homepage: https://github.com/bthesorceror/round-robin-stream#readme
- Issues: https://github.com/bthesorceror/round-robin-stream/issues
- npm.io page: https://npm.io/package/round-robin-stream

## Recent versions

- 1.0.0 (latest) — 2016-05-25

## README

# Round Robin Stream

Allows for data to be pipe through multiple streams in a round robin fashion

## Installation

```bash
npm install round-robin-stream
```

## Example

```js
const RoundRobinStream = require('round-robin-stream');

let stream = new RoundRobinStream();

var outlet1 = stream.createReadStream();
var outlet2 = stream.createReadStream();

stream.write('a'); // goes to outlet1
stream.write('b'); // goes to outlet2
stream.write('c'); // goes to outlet1

outlet2.destroy(); // removes outlet2 from rotation
```

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