mattphillips/deep-object-diff
Deep diffs two objects, including nested structures of arrays and objects, and returns the difference. ❄️ observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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: 3569
- days_rel: n/a
- days_push: 912
- n_releases_24m: 0
Adoption not part of the score
1139 stars · 97 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library that computes deep differences between two objects, including nested structures of arrays and objects. It provides functions to get all differences or only added, deleted, or updated values.
Use cases
- compare two nested JavaScript objects and get the differences
- find which keys were added between two object versions
- detect deleted properties in an updated object
- get a detailed breakdown of added, deleted, and updated values
- diff deeply nested state objects in a Redux app
- compare JSON payloads before and after an API change
When to choose
- you need to diff plain JavaScript objects with nested arrays and objects
- you want separate added/deleted/updated diff results
- you need a tiny, dependency-free diff utility for Node or the browser
When to avoid
- you need to diff arrays as ordered lists with element-level matching
- you need structural diffs for non-JSON values like Maps, Sets, or class instances
- you need patch generation or applying diffs, not just detecting them
Facets
library · maturity maintenance
serialization developer-tools developer-tools browser deep-diff object-comparison nested-objects immutable-data state-comparison javascript nodejs
2 sources
- readme: https://github.com/mattphillips/deep-object-diff · fetched 2026-08-28 · 721c9484611d
- registry_npm: https://registry.npmjs.org/deep-object-diff · fetched 2026-08-29 · 09f4cc179d03
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mattphillips/deep-object-diff | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mattphillips/deep-object-diff")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem