immer
npmv11.1.15TypeScriptCreate your next immutable state by mutating the current one
Overview
immer is an npm package that create your next immutable state by mutating the current one. It is extremely widely used, with about 50.2M downloads per week and 1 known dependents in the graph. The latest version is 11.1.15, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need create your next immutable state by mutating the current one and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (50.2M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (23 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of immer.
Dependencies
Dev (23)
Used by
Popular packages that depend on immer.
Alternatives to immer
2KB immutable date time library alternative to Moment.js with the same modern API
Predictable state container for JavaScript apps
The official, opinionated, batteries-included toolset for efficient Redux development
Immutable Data Collections
Frequently installed together
React is a JavaScript library for building user interfaces.
Official React bindings for Redux
Simple yet powerful framework for building command-line apps.
An extremely fast JavaScript and CSS bundler and minifier.
React package for working with the DOM.
An AST-based pattern checker for JavaScript.
TypeScript definitions for react
Prettier is an opinionated code formatter
Promise based HTTP client for the browser and node.js
Next generation testing framework powered by Vite
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
The official runtime utils for Standard Schema
Version history
| Version | Published | License |
|---|---|---|
| 11.1.15latest | 2 days ago | MIT |
| 11.1.14 | 2 days ago | MIT |
| 11.1.13 | 2 days ago | MIT |
| 11.1.12 | 2 days ago | MIT |
| 11.1.11 | 15 days ago | MIT |
| 11.1.10 | 15 days ago | MIT |
| 11.1.9 | 18 days ago | MIT |
| 11.1.8 | 2 months ago | MIT |
| 11.1.7 | 2 months ago | MIT |
| 11.1.6 | 2 months ago | MIT |
| 11.1.5 | 2 months ago | MIT |
| 11.1.4 | 5 months ago | MIT |
| 11.1.3 | 6 months ago | MIT |
| 11.1.2 | 6 months ago | MIT |
| 11.1.0 | 7 months ago | MIT |
| 11.0.1 | 7 months ago | MIT |
| 11.0.0 | 7 months ago | MIT |
| 10.2.0 | 8 months ago | MIT |
| 10.1.3 | 10 months ago | MIT |
| 10.1.2 | 10 months ago | MIT |
Maintainers
Keywords
Funding
Frequently asked questions
How do I install immer?
Run `npm install immer` to add immer to your npm project.
What license is immer released under?
immer is distributed under the MIT license.
How popular is immer?
immer has approximately 50,206,933 downloads per week and 1 known dependent packages.