# TehShrike/deepmerge

A library for deep (recursive) merging of Javascript objects

Repository: https://github.com/TehShrike/deepmerge
Canonical: https://ross.abutalabs.com/products/deepmerge
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-04-21T05:16:12+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5333, "days_push": 1230, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2816, forks 211 (observed 2026-08-28T04:07:23.848453+00:00)

## What it is
A small JavaScript utility library for deep (recursive) merging of plain objects and arrays. It supports custom array-merge strategies and works in Node and the browser.

## Use cases
- deep merge javascript objects
- recursively merge config objects
- merge nested json objects in node
- combine default and user options objects
- merge arrays of objects recursively

## When to choose
- you need recursive merging of plain objects and arrays in JavaScript
- you want a tiny dependency (under 1KB) with no runtime deps
- you need customizable array merge behavior

## When to avoid
- you need to merge class instances, Maps, or other special objects
- you only need shallow merging
- you need ESM entry point support

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization
- domain: developer-tools
- platform: browser
- tags: deep-merge, object-merge, javascript, utility, nodejs

## Member repositories
- TehShrike/deepmerge (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:23.848453+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:13:27.524205+00:00, confidence not recorded.
  - readme: https://github.com/TehShrike/deepmerge (fetched 2026-08-28T04:07:23.848453+00:00, sha 262d77c005d1)
  - registry_npm: https://registry.npmjs.org/deepmerge (fetched 2026-08-29T09:54:02.202471+00:00, sha 0e04c7cbfdc3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
