immutable
npmv5.1.9TypeScriptImmutable Data Collections
Safe to adopt
Yes — immutable scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 72 days ago. 20 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 72 days ago. 20 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 709 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 immutable 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
Quick start
A usage example from the immutable README.
import { Map } from 'immutable';
const map1 = Map({ a: 1, b: 2, c: 3 });
const map2 = map1.set('b', 50);
map1.get('b') + ' vs. ' + map2.get('b'); // 2 vs. 50immutable 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 |
|---|---|---|---|---|
| immutablethis page | 0 | 7 | MIT | 2 months ago |
| redux | 30.2M | 5 | MIT | 1 day ago |
| es-get-iterator | 0 | 1 | MIT | 1 day ago |
| p-locate | 216.9M | 1 | MIT | 1 day ago |
| internal-slot | 79.2M | 1 | MIT | 1 day ago |
| dayjs | 48.7M | 1 | MIT | 1 day ago |
Used by
Popular packages that depend on immutable.
A pure JavaScript implementation of Sass.
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
Create your next immutable state by mutating the current one
Stringify any JavaScript value.
This module exports some utils for the `expect` function used in [Jest](https://jestjs.io/).
This package exports the `expect` function used in [Jest](https://jestjs.io/). You can find its documentation [on Jest's website](https://jestjs.io/docs/expect).
A collection of utility libraries used by other Facebook JS projects
Relationship graph
Dependencies (left) and dependents (right) of immutable.
Frequently installed together
Generates and consumes source maps
A native C++ Node module for querying and subscribing to filesystem events. Used by Parcel 2.
Minimal and efficient cross-platform file watching library
TypeScript definitions for node
This packages is a collection of utilities and helper functions
A set of utility functions for expect and related packages
A utility function to get the type of a value
JavaScript parser and stringifier for YAML
Native-ESM powered web dev build tool
Lodash modular utilities.
Prettier is an opinionated code formatter
Next generation testing framework powered by Vite
Release history
15 releases in the last two years, typically about 12 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 6.0.0-beta.1 | 24 days ago | 716 KB | MIT |
| 3.8.4 | 26 days ago | 434 KB | MIT |
| 5.1.9latest | 2 months ago | 709 KB | MIT |
| 5.1.8 | 2 months ago | 707 KB | MIT |
| 4.3.9 | 2 months ago | 680 KB | MIT |
| 5.1.7 | 2 months ago | 694 KB | MIT |
| 5.1.6 | 3 months ago | 693 KB | MIT |
| 3.8.3 | 6 months ago | 427 KB | MIT |
| 4.3.8 | 6 months ago | 667 KB | MIT |
| 5.1.5 | 6 months ago | 693 KB | MIT |
| 5.1.4 | 11 months ago | 692 KB | MIT |
| 5.1.3 | 1 year ago | 684 KB | MIT |
| 5.1.2 | 1 year ago | 720 KB | MIT |
| 5.1.1 | 1 year ago | 720 KB | MIT |
| 5.1.0 | 1 year ago | 720 KB | MIT |
Overview
immutable is an npm package that immutable Data Collections. It has 7 known dependents in the graph. The latest version is 5.1.9, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need immutable Data Collections and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Zero runtime dependencies — minimal footprint.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use immutable?
Yes — immutable scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 72 days ago. 20 releases in the last 2 years.
How do I install immutable?
Run `npm install immutable` to add immutable to your npm project.
What license is immutable released under?
immutable is distributed under the MIT license.
How popular is immutable?
npm does not publish download counts. Within PackageGraph's crawl, 7 known packages depend on immutable.
Is immutable still maintained?
The most recent release of immutable (v5.1.9) was published 2 months ago.
Does immutable run install scripts?
No. immutable does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.