ptarjan/node-cache
A simple in-memory cache for nodejs observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- 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: 5970
- days_rel: n/a
- days_push: 2094
- n_releases_24m: 0
Adoption not part of the score
1595 stars · 172 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A simple in-memory key-value cache library for Node.js with optional TTL-based expiration and timeout callbacks. It supports multiple cache instances, JSON export/import, and basic hit/miss statistics.
Use cases
- cache api responses in memory
- store computed values with a ttl
- memoize expensive function results in node
- add a simple key-value cache without external dependencies
- expire cached entries after a timeout with a callback
- export and restore cache contents as
When to choose
- you need a lightweight, zero-dependency in-memory cache for a single node process
- you want simple put/get/del semantics with optional expiration
- you don't need persistence, clustering, or eviction policies
When to avoid
- you need a distributed or shared cache across processes (use Redis or Memcached)
- you need LRU/LFU eviction or size limits
- you need persistence or high read/write throughput under heavy load
Facets
library · maturity maintenance
caching developer-tools backend performance in-memory-cache key-value-store ttl javascript nodejs
1 source
- readme: https://github.com/ptarjan/node-cache · fetched 2026-08-28 · a435ea06afef
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ptarjan/node-cache | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="ptarjan/node-cache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem