await-cache

JSON →
library 1.0.2 ·javascript maintenance
verified Jun 7, 2026

A lightweight promise-based cache for async functions with optional LRU eviction and configurable TTL. Current stable version is 1.0.2, released in 2018 with no recent updates. Key differentiators: simple API wrapping any async function, supports LRU via maxSize option, custom argument serialization. Works with both async and sync functions. Minimal dependencies; suitable for Node.js and browser environments.