lukeed/dequal
A tiny (304B to 489B) utility to check for deep equality observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 76
- 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: 2736
- days_rel: n/a
- days_push: 146
- n_releases_24m: 0
Adoption not part of the score
1467 stars · 35 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
dequal is a tiny (304B to 489B) JavaScript utility for checking deep equality between values of any type, including Objects, Arrays, Sets, Maps, Dates, RegExps, and TypedArrays. It offers a full version and a 'lite' variant with broader legacy browser support but fewer built-in type comparisons.
Use cases
- compare two objects deeply in JavaScript
- check if two arrays are equal
- deep equality check for React dependency arrays
- compare nested JSON structures in tests
- check if two Maps or Sets contain equal values
- tiny deep-equal alternative to lodash.isequal
When to choose
- you need a minimal, dependency-free deep equality check
- bundle size matters and lodash.isequal is too heavy
- you need value equality for Sets, Maps, TypedArrays, or DataViews
When to avoid
- you need IE9 support and Set/Map/TypedArray comparison (use dequal/lite limitations into account)
- you need assertion-style equality with diff output in tests
- you need equality checks for class instances with custom equality semantics
Facets
library · maturity stable
serialization developer-tools browser cross-platform deep-equality comparison tiny zero-dependency javascript algorithms nodejs
2 sources
- readme: https://github.com/lukeed/dequal · fetched 2026-08-28 · 27ae47bba55f
- registry_npm: https://registry.npmjs.org/dequal · fetched 2026-08-29 · f85eb590ae36
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lukeed/dequal | main | 57 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem