https://github.com/reactnativecn/node-hdiffpatch
https://github.com/reactnativecn/node-hdiffpatch
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/reactnativecn/node-hdiffpatch
- Owner: reactnativecn
- License: mit
- Created: 2021-04-06T13:04:39.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2026-01-28T03:14:04.000Z (about 1 month ago)
- Last Synced: 2026-01-28T18:23:51.558Z (about 1 month ago)
- Language: C++
- Size: 43 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-hdiffpatch
Create patch buffer with origin buffer with [HDiffPatch](https://github.com/sisong/HDiffPatch)
Patch compatible with HDiffPatch -SD
## Installation
```bash
npm install --save node-hdiffpatch
```
## Usage
### diff(originBuf, newBuf)
Compare two buffers and return a new hdiffpatch patch as return value.