caching-map
JSON →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.
Traffic · last 30 days stale · no recent hits
total hits 16
actors 5 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇮🇳 India · 🇨🇦 Canada
Resources
packagecaching-map ↗