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.
Traffic · last 30 days stale · no recent hits
total hits 17
actors 4 distinct systems
last hit 16d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · MY
Resources
packagemap-cache-ttl ↗