montagejs/collections
This package contains JavaScript implementations of common data structures with idiomatic interfaces. observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5150
- days_rel: n/a
- days_push: 1029
- n_releases_24m: 0
Adoption not part of the score
2091 stars · 185 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library providing implementations of common data structures such as lists, sets, maps, splay trees, and LRU caches with idiomatic, observable interfaces. It works in Node.js and browsers via CommonJS loaders or a standalone script tag.
Use cases
- look up values by arbitrary keys in JavaScript
- use an LRU cache that evicts least recently used entries
- observe changes to collections reactively
- keep a collection sorted automatically
- use sets and maps that work with object keys in older JavaScript environments
When to choose
- you need specialized data structures (splay trees, LRU/LFU caches, observable collections) in Node or the browser
- you need a consistent generic method interface across different collection types
- you must support older JavaScript runtimes lacking native Map/Set
When to avoid
- you only need native Map, Set, or Array features available in modern JavaScript
- you want a library under active development with frequent updates
- you need strongly typed or immutable collections
Facets
library · maturity maintenance
serialization developer-tools browser cross-platform data-structures collections observable-collections lru-cache splay-tree commonjs algorithms nodejs
3 sources
- readme: https://github.com/montagejs/collections · fetched 2026-08-28 · d6a759e850bf
- homepage: http://www.collectionsjs.com · fetched 2026-08-29 · bed341c63e2f
- registry_npm: https://registry.npmjs.org/collections · fetched 2026-08-29 · e5d3e867ffe8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| montagejs/collections | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="montagejs/collections")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem