# series-stream

> Pipe multiple streams into a single stream, ensuring each added stream finishes piping it's data before the next begins.

Latest version **1.0.1** (published 2015-03-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install series-stream
pnpm add series-stream
yarn add series-stream
bun add series-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.1 |
| Published | 2015-03-16 |
| First published | 2015-03-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Alan Shaw |
| Maintainers | alanshaw |
| Keywords | funnel, stream, combine, concat, each, series, linear |

## Links

- npm: https://www.npmjs.com/package/series-stream
- Repository: https://github.com/alanshaw/series-stream
- Issues: https://github.com/alanshaw/series-stream/issues
- npm.io page: https://npm.io/package/series-stream

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-03-16
- 1.0.0 — 2015-03-06
- 0.0.0 — 2015-03-06

## README

# series-stream [![Build Status](https://travis-ci.org/alanshaw/series-stream.svg?branch=master)](https://travis-ci.org/alanshaw/series-stream)

Pipe multiple streams into a single stream, ensuring each added stream finishes piping it's data before the next begins.

## Example

```js
var fs = require('fs')
var createSeriesStream = require('series-stream')

var ss = createSeriesStream()

var file1 = '/path/to/file1'
var file2 = '/path/to/file2'
var file3 = '/path/to/file3'
var outfile = '/path/to/outfile'

// Add streams in the order you want them to pipe out
ss.add(fs.createReadStream(file3))
ss.add(fs.createReadStream(file1))
ss.add(fs.createReadStream(file2))

ss.pipe(fs.createWriteStream(outfile))
// Outfile now contains the contents of file 3, 1 and 2 in that order
```

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