locking-cache
JSON →A locking LRU cache that deduplicates concurrent calls to a cached function: if multiple requests arrive for the same key while the initial call is in-flight, they all wait and receive the cached result once available. Current version 0.4.1 wraps lru-cache to provide a lock/unlock mechanism. The package is minimal but stable, with no recent releases since 2016 (likely maintenance mode). Key differentiators: integrates locking semantics on top of any compatible LRU cache, supports custom factory functions for alternative cache backends, and passes varargs through to all pending callbacks.
Resources
packagelocking-cache ↗