</>PackageGraphPackageGraph

immutable

npmv5.1.9TypeScript

Immutable 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.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

709 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

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. 50

immutable vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
immutablethis page07MIT2 months ago
redux30.2M5MIT1 day ago
es-get-iterator01MIT1 day ago
p-locate216.9M1MIT1 day ago
internal-slot79.2M1MIT1 day ago
dayjs48.7M1MIT1 day ago

Used by

Popular packages that depend on immutable.

Relationship graph

Dependencies (left) and dependents (right) of immutable.

Frequently installed together

Release history

15 releases in the last two years, typically about 12 days apart.

Recent versions of immutable
VersionPublishedSizeLicense
6.0.0-beta.124 days ago716 KBMIT
3.8.426 days ago434 KBMIT
5.1.9latest2 months ago709 KBMIT
5.1.82 months ago707 KBMIT
4.3.92 months ago680 KBMIT
5.1.72 months ago694 KBMIT
5.1.63 months ago693 KBMIT
3.8.36 months ago427 KBMIT
4.3.86 months ago667 KBMIT
5.1.56 months ago693 KBMIT
5.1.411 months ago692 KBMIT
5.1.31 year ago684 KBMIT
5.1.21 year ago720 KBMIT
5.1.11 year ago720 KBMIT
5.1.01 year ago720 KBMIT

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.

Maintainers

Keywords

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.