AsyncBanana/microdiff
A fast, zero dependency object and array comparison library. Significantly faster than most other deep comparison libraries and has full TypeScript support. observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 95
- Release rhythm 64
- 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: 586
- age_days: 1767
- days_rel: 31
- days_push: 31
- n_releases_24m: 2
Adoption not part of the score
3865 stars · 84 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Microdiff is a tiny (<1kb), zero-dependency JavaScript library for deep comparison of objects and arrays, returning a list of CREATE, REMOVE, and CHANGE operations. It is significantly faster than most other deep diff libraries and ships with full TypeScript support.
Use cases
- compare two JSON objects and get the list of changes
- detect what properties were added, removed, or changed between two states
- diff nested objects and arrays in a React or Node app
- track state changes for undo/redo or sync features
- compare form data before and after edits
- deep equality checking with detailed change paths
When to choose
- you need a fast, tiny deep diff with no dependencies
- you want TypeScript types built in
- you need Deno, Node, Bun, or browser support
- you need cyclical reference handling
When to avoid
- you need text/string diffing rather than object diffing
- you need patch application or merge semantics, not just change detection
- you need diffing of very large or streaming datasets
Facets
library · maturity stable
serialization developer-tools developer-tools web-development bun browser cross-platform diff deep-comparison zero-dependency typescript object-diff array-diff algorithms nodejs deno
2 sources
- readme: https://github.com/AsyncBanana/microdiff · fetched 2026-08-28 · d5eec137be62
- registry_npm: https://registry.npmjs.org/microdiff · fetched 2026-08-29 · cc326babcead
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| AsyncBanana/microdiff | main | 85 |
For agents
markdown · JSON · MCP: product_card(name="AsyncBanana/microdiff")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem