# teex

> Turn a readable stream into multiple readable streamx streams

Latest version **1.0.1** (published 2022-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install teex
pnpm add teex
yarn add teex
bun add teex
```

## 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.1 |
| Published | 2022-09-12 |
| First published | 2020-07-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/teex
- Repository: https://github.com/mafintosh/teex
- Issues: https://github.com/mafintosh/teex/issues
- npm.io page: https://npm.io/package/teex

## Dependencies (1)

- [streamx](https://npm.io/package/streamx.md) ^2.12.5

## Recent versions

- 1.0.1 (latest) — 2022-09-12
- 1.0.0 — 2020-07-03

## README

# teex

Turn a readable stream into multiple readable [streamx streams](https://github.com/mafintosh/streamx).

```
npm install teex
```

## Usage

``` js
const tee = require('teex')

// a, b are readable streams that are "clones"
// of someReadableStream. both streams need to
// be flowing, for someReadableStream to flow

const [a, b] = tee(someReadableStream)
```

## API

#### `const streams = tee(s, [howMany])`

Split a readable stream into multiple streams.
The `howMany` argument indicates how many streams
to split into and defaults to 2.

## License

MIT

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