ts-promise-cache

JSON →
library 0.9.0 ·javascript
verified Jun 7, 2026

A TypeScript promise-based loading cache that prevents thundering herds (cache stampede). Version 0.9.0 is the latest stable release. Ships with TypeScript definitions. Low release cadence. Differentiators: configurable TTL (access- or write-based), separate cache for single values, statistics, explicit set method, and customizable rejection handling with optional retry via ts-retry-promise.