{"adoption": {"forks": 375, "observed_at": "2026-08-28T04:09:32.167257+00:00", "stars": 5910}, "canonical_url": "https://ross.abutalabs.com/products/node-lru-cache", "card": {"archived": false, "artifact_type": "library", "description": "A fast cache that automatically deletes the least recently used items", "domain": ["developer-tools", "performance", "web-development"], "enriched": true, "function": ["caching"], "health_score": 75, "homepage": "http://isaacs.github.io/node-lru-cache/", "language": "JavaScript", "license": "BlueOak-1.0.0", "license_family": "other", "maturity": "stable", "member_repos": ["isaacs/node-lru-cache"], "name": "isaacs/node-lru-cache", "platform": ["browser"], "pushed_at": "2026-07-07T23:26:59+00:00", "repo": "isaacs/node-lru-cache", "stars": 5910, "tags": ["lru", "in-memory-cache", "ttl", "eviction-policy", "zero-dependency", "nodejs", "javascript"], "topics": ["cache", "caching", "lru", "lru-cache", "lrucache"], "urls": [], "use_cases": ["cache expensive function results in memory with a bounded size", "evict least recently used items when a cache hits its max size", "add per-item TTL expiration to an in-memory cache", "implement stale-while-revalidate fetching in JavaScript", "limit memory usage of cached objects with size calculation", "speed up repeated lookups in a Node.js application"], "what_it_is": "A high-performance JavaScript LRU (least-recently-used) cache library for Node.js and browsers, with optional TTL support, size tracking, and stale-while-revalidate fetching. It is a hybrid ESM/CJS module with zero dependencies.", "when_to_avoid": ["you need strong TTL guarantees with preemptive expiration pruning", "you need a distributed or persistent cache across processes or servers", "you primarily need TTL caching rather than LRU eviction"], "when_to_choose": ["you need a fast, well-tested in-memory LRU cache in JavaScript", "you want optional TTL, size limits, and eviction callbacks in one cache", "you need a dependency-free cache that works in both Node.js and browsers"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/node-lru-cache", "repo": "isaacs/node-lru-cache", "role": "main", "score": 73}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:32.167257+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:51:16.835367+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fe9133209ca9e0ad1d0a9e1b73f4f115e40d63f326edccd09ae038fd6e196744", "fetched_at": "2026-08-28T04:09:32.167257+00:00", "kind": "readme", "missing": false, "url": "https://github.com/isaacs/node-lru-cache"}, {"content_hash": "91b695c94fb85eb4fa56e5e22ce66ff3ffb36cfd9af72e73c96309b1217d6284", "fetched_at": "2026-08-29T08:46:56.408228+00:00", "kind": "homepage", "missing": false, "url": "http://isaacs.github.io/node-lru-cache/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5948, "days_push": 57, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 73, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}