Tiny async cache: TTL + LRU, single-flight dedup, and stale-while-revalidate. Zero dependencies.
This package is the code support for book "Node Reliable Caching"
Deduplicate concurrent async calls with the same key. All waiters share one result. Port of Go's sync/singleflight. Zero dependencies, TypeScript.