memory-cache
JSON →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.
Resources
packagememory-cache ↗