p-async-cache
JSON →Promise-based async cache that deduplicates concurrent lookups by caching the promise itself rather than the resolved value. Version 1.0.3 is stable with no recent updates (last published 2017). It wraps lru-cache to provide a simple API for caching async operations, including stale value support and automatic background refresh. Key differentiators: lightweight, no dependencies beyond lru-cache, and supports sync/async load functions.
Traffic · last 30 days stale · no recent hits
total hits 11
actors 2 distinct systems
last hit 19d ago Amazonbot
top countries 🇺🇸 United States · 🇸🇬 Singapore · IQ · TH · 🇧🇷 Brazil
Resources
packagep-async-cache ↗