Ross ROSS = Recommend OSS · open-source software intelligence for agents

isaacs/node-lru-cache

A fast cache that automatically deletes the least recently used items observed · 2026-08-28

github.com/isaacs/node-lru-cache · homepage · JavaScript · BlueOak-1.0.0 (other) observed · 2026-08-28

Health v2 · maintenance only

73/100

  • Activity 91
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

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: 5948
  • days_rel: n/a
  • days_push: 57
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

5910 stars · 375 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

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.

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

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

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

Facets

library · maturity stable

caching developer-tools performance web-development browser lru in-memory-cache ttl eviction-policy zero-dependency nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
isaacs/node-lru-cachemain73

For agents

markdown · JSON · MCP: product_card(name="isaacs/node-lru-cache")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem