Package · npm

which-collection

npm · v1.0.2 · MIT

Which kind of Collection (Map, Set, WeakMap, WeakSet) is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.

Not filed under any category yet: no assignment reached confidence 0.5.

Install

npm install which-collection

Adoption

Downloads (30 days)
315M
Observeddownloads / 30 days
Popularity
Top 10% on npm
Derived97th percentile within npm
Dependents
649
Observedpackages that depend on it
Maintenance
0.05
DerivedRelease cadence and recency, 0 to 1
Releases per year
0.7
3 versions over its life

Growth by period

Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.

7 days
Collectinghistory
Collecting
30 days
−2.8% · 30d
Derived−9.2M downloads / 30 days, SEP 24 → OCT 24
90 days
+10.2% · 90d
Derived+29.2M downloads / 30 days, JUL 26 → OCT 24
1 year
+102.7% · 1y
Derived+159.6M downloads / 30 days, NOV 3 → OCT 24

Adoption history

Adoption historydownloads / 30 days · 13 observations

SEP 24, 2026: 324,221,656 downloads / 30 daysSEP 25, 2026: 324,893,017 downloads / 30 daysSEP 26, 2026: 318,793,513 downloads / 30 daysSEP 27, 2026: 314,457,239 downloads / 30 daysSEP 28, 2026: 324,838,871 downloads / 30 daysSEP 29, 2026: 335,428,299 downloads / 30 daysSEP 30, 2026: 339,382,700 downloads / 30 daysOCT 1, 2026: 342,231,670 downloads / 30 daysOCT 2, 2026: 341,851,062 downloads / 30 daysOCT 3, 2026: 350,737,223 downloads / 30 daysOCT 4, 2026: 346,300,352 downloads / 30 daysOCT 5, 2026: 346,300,352 downloads / 30 daysOCT 24, 2026: 315,007,082 downloads / 30 days
Table of observations (13)
Daydownloads / 30 daysDependents
OCT 24, 2026315,007,082649
OCT 5, 2026346,300,352Not observed
OCT 4, 2026346,300,352Not observed
OCT 3, 2026350,737,223Not observed
OCT 2, 2026341,851,062Not observed
OCT 1, 2026342,231,670Not observed
SEP 30, 2026339,382,700Not observed
SEP 29, 2026335,428,299Not observed
SEP 28, 2026324,838,871Not observed
SEP 27, 2026314,457,239Not observed
SEP 26, 2026318,793,513Not observed
SEP 25, 2026324,893,017Not observed
SEP 24, 2026324,221,656Not observed

Facts from the registry

Latest version
v1.0.2
3 versions
First published
NOV 13, 2019
Last release
MAR 8, 2024
3y ago
Licence
MIT

Repository

Not in the Crest catalog

inspect-js/which-collection (GitHub, opens in a new tab)

The catalog tracks GitHub repositories with more than 500 stars; this one has no Crest page, so its figures are not shown here.

Dependencies latest version · v1.0.2

Runtime 4

  • is-map^2.0.3
  • is-set^2.0.3
  • is-weakmap^2.0.2
  • is-weakset^2.0.3

No related package is in the catalog yet.

Related news

No published news event mentions this package or its repository yet.