# binary-diff

> bsdiff algorithm diff implementation for NodeJS

Latest version **1.0.0** (published 2018-06-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install binary-diff
pnpm add binary-diff
yarn add binary-diff
bun add binary-diff
```

## 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 | 2018-06-29 |
| First published | 2018-06-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 272.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Author | Benoit Lemaire |
| Maintainers | belemaire |
| Keywords | bsdiff, binary diff |

## Links

- npm: https://www.npmjs.com/package/binary-diff
- Homepage: https://github.com/belemaire/bs-diff#readme
- Issues: https://github.com/belemaire/bs-diff/issues
- npm.io page: https://npm.io/package/binary-diff

## Dependencies (1)

- [nan](https://npm.io/package/nan.md) ^2.10.0

## Recent versions

- 1.0.0 (latest) — 2018-06-29

## README

# binary-diff

## Install

```
$ npm install binary-diff
```

## Usage

```js
const bsdiff = require('binary-diff')

const bufA = Buffer.from('abcd')
const bufB = Buffer.from('abef')

const diffBuffer = bsdiff(bufA, bufB)
```

## Api

```
bsdiff(old: Buffer, new: Buffer) : Buffer
```

## License

MIT © Benoit Lemaire


## Credits

Modification of original implementation from :

- https://github.com/Dezeiraud/bsdiff-nodejs

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