Preparing for system design interviews?  Try bugzed.com →

map-cache-ttl

JSON →
library 0.1.1 ·javascript
verified Jun 7, 2026

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.

total hits 17
actors 4 distinct systems
last hit 16d ago human
GPTBot
3
ByteDance
3
Amazonbot
1
Humans
9

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · MY