</>PackageGraphPackageGraph

immer

npmv11.1.15TypeScript

Create your next immutable state by mutating the current one

50.2M
Weekly downloads
1
Dependents
23
Dependencies
95/100
Popularity

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.

@reduxjs/toolkitdevframeimmer
immer dependencies dependents

Dependencies

Dev (23)

@babel/core ^7.21.3@types/node ^24.3.1@vitest/coverage-v8 2.1.9coveralls ^3.0.0cpx2 ^3.0.0deep-freeze ^0.0.1flow-bin ^0.123.0husky ^1.2.0immutable ^3.8.2import-size ^1.0.2lodash ^4.17.4lodash.clonedeep ^4.5.0prettier 3.8.0pretty-quick ^4.2.2redux ^4.0.5rimraf ^2.6.2seamless-immutable ^7.1.3semantic-release ^25.0.3tsup ^6.7.0type-plus ^7.6.2typescript ^5.0.2vite ^6.4.2vitest ^3.2.6

Used by

Popular packages that depend on immer.

Alternatives to immer

Frequently installed together

Version history

VersionPublishedLicense
11.1.15latest2 days agoMIT
11.1.142 days agoMIT
11.1.132 days agoMIT
11.1.122 days agoMIT
11.1.1115 days agoMIT
11.1.1015 days agoMIT
11.1.918 days agoMIT
11.1.82 months agoMIT
11.1.72 months agoMIT
11.1.62 months agoMIT
11.1.52 months agoMIT
11.1.45 months agoMIT
11.1.36 months agoMIT
11.1.26 months agoMIT
11.1.07 months agoMIT
11.0.17 months agoMIT
11.0.07 months agoMIT
10.2.08 months agoMIT
10.1.310 months agoMIT
10.1.210 months agoMIT

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.