# patchjs-diff

> The diff algorithm of Patch.js

Latest version **0.1.1** (published 2018-11-20) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2018-11-20 |
| First published | 2018-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 1.4.0 |
| Dependencies | 0 |
| Unpacked size | 7.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | yulongheli |
| Maintainers | yulongheli |
| Keywords | patch-diff, patch, patchjs |

## Links

- npm: https://www.npmjs.com/package/patchjs-diff
- Repository: https://github.com/patchjs/patchjs-diff
- Homepage: https://github.com/patchjs/patchjs-diff#readme
- Issues: https://github.com/patchjs/patchjs-diff/issues
- npm.io page: https://npm.io/package/patchjs-diff

## Recent versions

- 0.1.1 (latest) — 2018-11-20
- 0.1.0 — 2018-04-22

## README

# The diff algorithm of Patch.js

## Installation

```bash
npm install patchjs-diff --save-dev
```

## API

calcDiffData (src, dest)

## Algorithm(inspired by mt) 

http://wiki.c2.com/?DiffAlgorithm

https://github.com/mtjs/mt

https://neil.fraser.name/software/diff_match_patch/myers.pdf

https://code.google.com/p/google-diff-match-patch/

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