# @idlebox/deepmerge

> Deep merge utility for JSON files with custom merge strategies.

Latest version **0.0.15** (published 2026-04-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @idlebox/deepmerge
pnpm add @idlebox/deepmerge
yarn add @idlebox/deepmerge
bun add @idlebox/deepmerge
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.15 |
| Published | 2026-04-02 |
| First published | 2025-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 12 |
| Author | GongT |
| Maintainers | gongt |

## Links

- npm: https://www.npmjs.com/package/@idlebox/deepmerge
- Repository: https://github.com/GongT/baobao
- Homepage: https://github.com/GongT/baobao#readme
- Issues: https://github.com/GongT/baobao/issues
- npm.io page: https://npm.io/package/@idlebox/deepmerge

## Recent versions

- 0.0.15 (latest) — 2026-04-02
- 0.0.14 — 2026-03-28
- 0.0.13 — 2026-03-19
- 0.0.12 — 2026-03-19
- 0.0.11 — 2026-03-19
- 0.0.10 — 2026-02-03
- 0.0.9 — 2026-02-03
- 0.0.8 — 2026-01-17
- 0.0.7 — 2025-09-25
- 0.0.6 — 2025-08-28
- 0.0.5 — 2025-08-08
- 0.0.4 — 2025-08-05
- 0.0.3 — 2025-08-03
- 0.0.2 — 2025-07-28
- 0.0.1 — 2025-07-26

## README

# deepmerge

合并两个对象，可以完全自定义如何合并它们。

```ts
import { deepmerge, type Primitive, type KeyType } from '@idlebox/deepmerge';
```

---
_Source: https://npm.io/package/@idlebox/deepmerge · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
