map-cache-ttl
JSON →A Map subclass with TTL-based expiration for caching in Node.js (v0.1.1). It extends ES6 Map with optional per-key max age and automatic or manual trimming of expired entries. Supports proxy wrapping for memoization of async functions with cached results. Lightweight, no external dependencies required (except object-hash for proxy). Ideal for simple in-memory caching with fine-grained control over expiration.
Resources
packagemap-cache-ttl ↗