Ross ROSS = Recommend OSS · open-source software intelligence for agents

benjamine/jsondiffpatch

Diff & patch JavaScript objects observed · 2026-08-28

github.com/benjamine/jsondiffpatch · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

60/100

  • Activity 82
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 5430
  • days_rel: n/a
  • days_push: 111
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

5336 stars · 496 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A TypeScript library for deep diffing and patching JavaScript objects, with smart array diffing via LCS, text diffing for long strings, and delta reversal/unpatching. It supports multiple output formats including a compact JSON delta format, HTML visual diffs, JSON Patch (RFC 6902), and a CLI for comparing files or URLs.

Use cases

  • diff two files from the command line
  • compare javascript objects and generate a patch
  • apply and revert deltas to patch objects
  • show a visual html diff of two documents
  • generate rfc 6902 patch from two objects
  • diff arrays of objects by id instead of position
  • compare from a gist or http url

When to choose

  • you need deep structural diffing of JavaScript objects or JSON, including smart array matching
  • you want to serialize, apply, and reverse deltas for state synchronization or undo/redo
  • you need multiple diff output formats (delta, JSON Patch, HTML visual, console) in one small (~16KB) package

When to avoid

  • you only need simple string or line-based text diffs without object awareness
  • you need diffing of non-JSON binary or arbitrary file formats
  • you require a language other than JavaScript/TypeScript

Facets

library · maturity stable

serialization developer-tools cli developer-tools files web-development browser cli cross-platform -diff -patch delta-format array-diffing text-diff visual-diff typescript nodejs

3 sources

Member repositories

RepositoryRoleHealth v2
benjamine/jsondiffpatchmain60

For agents

markdown · JSON · MCP: product_card(name="benjamine/jsondiffpatch")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem