# playback-stream

> A stream whose contents can be played back many times

Latest version **1.0.0** (published 2016-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install playback-stream
pnpm add playback-stream
yarn add playback-stream
bun add playback-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-08-28 |
| First published | 2016-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Anna Henningsen |
| Maintainers | addaleax |
| Keywords | stream, playback, duplex, multiple |

## Links

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

## Dependencies (1)

- [readable-stream](https://npm.io/package/readable-stream.md) ^2.1.5

## 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.0 (latest) — 2016-08-28

## README

playback-stream
===============

[![NPM Version](https://img.shields.io/npm/v/playback-stream.svg?style=flat)](https://npmjs.org/package/playback-stream)
[![NPM Downloads](https://img.shields.io/npm/dm/playback-stream.svg?style=flat)](https://npmjs.org/package/playback-stream)
[![Build Status](https://travis-ci.org/addaleax/playback-stream.svg?style=flat&branch=master)](https://travis-ci.org/addaleax/playback-stream?branch=master)
[![Coverage Status](https://coveralls.io/repos/addaleax/playback-stream/badge.svg?branch=master)](https://coveralls.io/r/addaleax/playback-stream?branch=master)
[![Dependency Status](https://david-dm.org/addaleax/playback-stream.svg?style=flat)](https://david-dm.org/addaleax/playback-stream)

A stream whose contents can be played back many times by storing its contents in memory.

Install:
`npm install playback-stream`

```js
const PlaybackStream = require('playback-stream');

const playback = new PlaybackStream();

request('https://placekitten.com/600/400').pipe(playback);
http.createServer((req, resp) => {
  resp.writeHead(200, { 'Content-Type': 'image/jpeg' });
  playback.newReadableSide().pipe(resp);
}).listen(8080);
```

License
=======

MIT

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