Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 430 Bytes

File metadata and controls

24 lines (15 loc) · 430 Bytes

node-bsdiff

Create patch buffer with origin buffer with bsdiff

Patch compatible with bsdiff v4.3

Installation

npm install --save node-bsdiff
bun add node-bsdiff

Usage

diff(originBuf, newBuf)

Compare two buffers and return a new bsdiff patch as return value.

originBuf and newBuf can be Node.js Buffer, TypedArray, or ArrayBuffer values.