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-collectionAdoption
- 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
Table of observations (13)
| Day | downloads / 30 days | Dependents |
|---|---|---|
| OCT 24, 2026 | 315,007,082 | 649 |
| OCT 5, 2026 | 346,300,352 | Not observed |
| OCT 4, 2026 | 346,300,352 | Not observed |
| OCT 3, 2026 | 350,737,223 | Not observed |
| OCT 2, 2026 | 341,851,062 | Not observed |
| OCT 1, 2026 | 342,231,670 | Not observed |
| SEP 30, 2026 | 339,382,700 | Not observed |
| SEP 29, 2026 | 335,428,299 | Not observed |
| SEP 28, 2026 | 324,838,871 | Not observed |
| SEP 27, 2026 | 314,457,239 | Not observed |
| SEP 26, 2026 | 318,793,513 | Not observed |
| SEP 25, 2026 | 324,893,017 | Not observed |
| SEP 24, 2026 | 324,221,656 | Not 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
Related packages
No related package is in the catalog yet.
Related news
No published news event mentions this package or its repository yet.