node-cache/node-cache
a node internal (in-memory) caching module observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5433
- days_rel: n/a
- days_push: 820
- n_releases_24m: 0
Adoption not part of the score
2372 stars · 146 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
node-cache is a simple, fast in-memory caching module for Node.js with set, get, and delete methods that works like memcached. Keys support TTL-based expiration and are stored in a single object, with a practical limit of around one million keys.
Use cases
- cache api responses in memory with ttl expiration
- store computed values in a node process to avoid recomputation
- replace an external memcached dependency for simple local caching
- rate-limit or deduplicate requests within a single node server
- cache database query results in-process
When to choose
- you need a lightweight, dependency-free in-memory cache for a single Node.js process
- you want memcached-like set/get/delete semantics with key TTLs
- your dataset fits in memory (up to roughly 1m keys)
When to avoid
- you need a distributed cache shared across multiple processes or servers
- you need persistence or eviction policies like LRU
- you want an actively maintained project - the maintainers state it is unmaintained
Facets
library · maturity maintenance
caching developer-tools backend performance in-memory-cache ttl memcached-like key-value-store nodejs
2 sources
- readme: https://github.com/node-cache/node-cache · fetched 2026-08-28 · eb39495803e3
- registry_npm: https://registry.npmjs.org/node-cache · fetched 2026-08-29 · 4ad640db036e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| node-cache/node-cache | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="node-cache/node-cache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem