Preparing for system design interviews?  Try bugzed.com →

zb-promise-cache

JSON →
library 1.0.1 ·javascript
verified Jun 7, 2026

A simple Node.js cache object that wraps a promise-returning function and caches the resolved value for a configurable TTL. Version 1.0.1 (latest) with no active development. Uses an LRU cache under the hood with configurable max size and max age. Useful for memoizing async operations like API calls or database queries. Minimal API with get, set, and clear methods. Limited documentation, no TypeScript types, CommonJS only.

total hits 16
actors 4 distinct systems
last hit 12d ago AhrefsBot
GPTBot
3
Amazonbot
3
ByteDance
3
Humans
6

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · MY