Preparing for system design interviews?  Try bugzed.com →

memory-cache

JSON →
library 0.2.0 ·javascript maintenance
verified Jun 7, 2026

A simple in-memory cache for Node.js with support for TTL and expiration callbacks. Version 0.2.0 is stable with no recent releases; it uses setTimeout for expiration. Unlike more feature-rich solutions (e.g., node-cache, lru-cache), it offers a minimal API: put, get, del, clear, size, and import/export. Its constructor allows multiple isolated cache instances. Note that all operations are synchronous, and hits/misses are only tracked in debug mode.

total hits 14
actors 3 distinct systems
last hit 17d ago Amazonbot
GPTBot
3
Amazonbot
3
ByteDance
2
Humans
6

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · ZA