unadlib/mutative
Efficient immutable updates, 2-6x faster than naive handcrafted reducer, and more than 10x faster than Immer. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 36
- 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: 57
- age_days: 1621
- days_rel: 346
- days_push: 20
- n_releases_24m: 6
Adoption not part of the score
1989 stars · 32 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mutative is a TypeScript JavaScript library for efficient immutable state updates using a mutable draft API, producing new immutable structures. It is significantly faster than both handcrafted spread-based reducers and Immer, with support for JSON Patch, custom shallow copying, and optional freezing.
Use cases
- update deeply nested redux state without spread operators
- replace immer for faster immutable updates in react apps
- write reducers with mutable-style draft code
- generate patches from state changes
- manage large immutable data structures efficiently
- avoid accidental state mutations in reducers
When to choose
- you need immutable updates faster than immer or handcrafted reducers
- you want concise draft-based state update syntax in react/redux
- you need patch support or custom shallow copy control
When to avoid
- your state updates are trivial and spread operators suffice
- you depend on immer-specific plugins or auto-freeze ecosystem tooling
Facets
library · maturity stable
state-management serialization web-development frontend developer-tools browser cross-platform immutable-updates immer-alternative copy-on-write -patch redux react typescript nodejs web-server
5 sources
- readme: https://github.com/unadlib/mutative · fetched 2026-08-28 · 32b3e3eb027b
- homepage: http://mutative.js.org/ · fetched 2026-08-29 · bb6b6e6debef
- site_page: https://mutative.js.org/docs/intro · fetched 2026-08-29 · c3b28f37c0d7
- registry_npm: https://registry.npmjs.org/mutative · fetched 2026-08-29 · 3ca3612b892c
- site_page: https://mutative.js.org/blog/releases/1.0 · fetched 2026-08-29 · 921753a3acd6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unadlib/mutative | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="unadlib/mutative")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem