Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

diff-match-patch (JavaScript)

Google's library for computing diffs, patches and matches between text strings.

UtilitiesNPM

GitHubWebsite

1. License

License from npm.

github.com/JackuB/diff-match-patch

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What diff-match-patch (JavaScript) does

Google's library for computing diffs, patches and matches between text strings.

diff-match-patch (JavaScript) popularity

51 / 100
Gid Score, #1891 overall
12.7M
downloads a week, npm
269
GitHub stars
11
agent projects use it
diff-match-patch (JavaScript): downloads per weeknpm, diff-match-patch 12,694,796
diff-match-patch (JavaScript): GitHub starsJackuB/diff-match-patch 269

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How diff-match-patch (JavaScript) is used

  • diff-match-patch (JavaScript) is a dependency in 11 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 30 projects, and what it is used with below comes from all of them.
  • Projects that use it most often also use Zod (96.7%), clsx (80.0%), dotenv (80.0%).

By coding agent

9 projects, 0.4%
5 projects, 0.2%

Often used with

In 96.7% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 76.7% of its projects
In 76.7% of its projects
In 76.7% of its projects

More about diff-match-patch (JavaScript)

More in Utilities

Alternatives

diff-match-patch (JavaScript) This page

Apache-2.0Gid 5112.7M/wk

Compare diff-match-patch (JavaScript) with another tool

Get started

Install it.

npm install diff-match-patch

No step-by-step start for diff-match-patch (JavaScript) yet: we have not written its hand-checked card.