# rabin-stream

> Streaming Rabin chunker

Latest version **2.0.0** (published 2026-02-12) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install rabin-stream
pnpm add rabin-stream
yarn add rabin-stream
bun add rabin-stream
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-02-12 |
| First published | 2020-07-02 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Holepunch |
| Maintainers | mafintosh, kasperisager |

## Links

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

## Dependencies (2)

- [streamx](https://npm.io/package/streamx.md) ^2.23.0
- [rabin-native](https://npm.io/package/rabin-native.md) ^2.0.0

## Recent versions

- 2.0.0 (latest) — 2026-02-12
- 2.0.0-0 — 2026-02-12
- 1.0.0 — 2020-07-02

## README

# rabin-stream

Streaming Rabin chunker.

```
npm i rabin-stream
```

## Usage

```js
const RabinStream = require('rabin-stream')

const r = new RabinStream()

r.on('data', function (data) {
  console.log('Chunk', data)
})

someStream.pipe(r)
```

## API

#### `const stream = new RabinStream([options])`

Construct a new chunker stream. Options supported by <https://github.com/holepunchto/rabin-native> may be specified.

## License

Apache-2.0

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