# binary-stream-equals

> Check if two binary streams have the same content

Latest version **1.0.0** (published 2022-03-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install binary-stream-equals
pnpm add binary-stream-equals
yarn add binary-stream-equals
bun add binary-stream-equals
```

## 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 | 2022-03-31 |
| First published | 2022-03-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

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

## Dependencies (1)

- [b4a](https://npm.io/package/b4a.md) ^1.3.1

## Recent versions

- 1.0.0 (latest) — 2022-03-31
- 0.0.0 — 2022-03-31

## README

# binary-stream-equals

Check if two binary streams have the same content

```
npm install binary-stream-equals
```

(Only works with [streamx](https://github.com/streamxorg/streamx) and the latest versions of Node's readable-stream)

## Usage

``` js
const streamEquals = require('binary-stream-equals')

// Note that streamEquals consumes and destroys the streams when done
const eq = await streamEquals(binaryStreamA, binaryStreamB)
```

## License

MIT

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