# pull-tomany

> duplicate a pull-stream to many sinks

Latest version **1.0.0** (published 2014-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install pull-tomany
pnpm add pull-tomany
yarn add pull-tomany
bun add pull-tomany
```

## 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 | 2014-12-20 |
| First published | 2014-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Paul Frazee |
| Maintainers | pfraze |

## Links

- npm: https://www.npmjs.com/package/pull-tomany
- Repository: https://github.com/pfraze/pull-tomany
- Issues: https://github.com/pfraze/pull-tomany/issues
- npm.io page: https://npm.io/package/pull-tomany

## Recent versions

- 1.0.0 (latest) — 2014-12-20

## README

# pull-tomany

Duplicate chunks in a pull stream to multiple sinks with back pressure and handling all errors and abort.

## Basic example

use an array of streams to write into.

``` js
var pull = require('pull-stream')
var tomany = require('pull-tomany')
pull(
  pull.values([1,2,3,4,5]),
  //tomany is a sink, so it's the last thing in the pipeline.
  tomany([
    pull.collect(console.log), // => [1,2,3,4,5]
    pull.collect(console.log), // => [1,2,3,4,5]
    pull.collect(console.log)  // => [1,2,3,4,5]
  ])
)
```


## License

MIT

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