Skip to content

reactnativecn/node-hdiffpatch

Repository files navigation

node-hdiffpatch

Create patch buffer with origin buffer with HDiffPatch

Patch compatible with HDiffPatch -SD

Installation

npm install --save node-hdiffpatch

Usage

diff(originBuf, newBuf)

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