Preparing for system design interviews?  Try bugzed.com →

caching-map

JSON →
library 1.0.2 ·javascript
verified Jun 7, 2026

caching-map v1.0.2 is an in-memory LRU cache with an ES6 Map-like API. It supports configurable cache limits, per-key cost for memory-aware eviction, per-key TTL expiration, and a materialize callback to avoid thundering herds for async resources. Unlike lru-cache, it offers easy enable/disable via zero/infinite limits and integrates with promises for async loading. Release cadence is low; no recent updates. Key differentiators include cost-based eviction, expired-key-first eviction, and full iteration order from most to least recently used.

total hits 16
actors 5 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Amazonbot
3
ByteDance
3
Search engines
1
Humans
5

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇮🇳 India · 🇨🇦 Canada