immer
npmv11.1.18TypeScriptCreate your next immutable state by mutating the current one
Safe to adopt
Yes — immer scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 22 days ago. 23 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 22 days ago. 23 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 934 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding immer to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- No constraint declared
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
immer vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| immerthis page | 0 | 3 | MIT | 22 days ago |
| dayjs | 48.7M | 1 | MIT | 1 day ago |
| redux | 30.2M | 5 | MIT | 1 day ago |
| @reduxjs/toolkit | 26.4M | 2 | MIT | 1 day ago |
| immutable | 0 | 7 | MIT | 1 day ago |
Dependencies
Declared by immer v11.1.18. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (23)
Used by
Popular packages that depend on immer.
The official, opinionated, batteries-included toolset for efficient Redux development
Framework for building one portable devtool integration that runs in any viewer.
Expo Router is a file-based router for React Native and web applications.
Relationship graph
Dependencies (left) and dependents (right) of immer.
Frequently installed together
Simple yet powerful framework for building command-line apps.
Native navigation primitives for your React Native app.
Model Context Protocol implementation for TypeScript - Client package
Model Context Protocol implementation for TypeScript - Server package
React Native for Web
The Expo SDK
More powerful alternative to Animated library for React Native.
Tools for making advanced Metro bundler features work
Simple and complete React Native testing utilities that encourage good testing practices.
React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.
Error overlay for universal Expo apps.
Declarative API exposing native platform touch and gesture system to React Native
Release history
23 releases in the last two years, typically about 3 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 11.1.18latest | 22 days ago | 934 KB | MIT |
| 11.1.17 | 25 days ago | 932 KB | MIT |
| 11.1.16 | 1 month ago | 909 KB | MIT |
| 11.1.15 | 1 month ago | 907 KB | MIT |
| 11.1.14 | 1 month ago | 906 KB | MIT |
| 11.1.13 | 1 month ago | 906 KB | MIT |
| 11.1.12 | 1 month ago | 897 KB | MIT |
| 11.1.11 | 2 months ago | 912 KB | MIT |
| 11.1.10 | 2 months ago | 908 KB | MIT |
| 11.1.9 | 2 months ago | 907 KB | MIT |
| 11.1.8 | 4 months ago | 893 KB | MIT |
| 11.1.7 | 4 months ago | 893 KB | MIT |
| 11.1.6 | 4 months ago | 892 KB | MIT |
| 11.1.5 | 4 months ago | 892 KB | MIT |
| 11.1.4 | 7 months ago | 892 KB | MIT |
Overview
immer is an npm package that create your next immutable state by mutating the current one. It has 3 known dependents in the graph. The latest version is 11.1.18, 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 focused 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
- 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.
Maintainers
Keywords
Funding
Frequently asked questions
Should I use immer?
Yes — immer scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 22 days ago. 23 releases in the last 2 years.
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?
npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on immer.
Is immer still maintained?
The most recent release of immer (v11.1.18) was published 22 days ago.
Does immer run install scripts?
No. immer does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.