Preparing for system design interviews?  Try bugzed.com →

with-simple-cache

JSON →
library 0.16.0 ·javascript
verified Jun 7, 2026

A wrapper pattern for adding caching to synchronous and asynchronous functions in Node.js and browser environments. Version 0.16.0 ships TypeScript types and supports both sync and async caches via a clean functional API. Key differentiators: automatic cache key derivation from function arguments, pluggable cache stores (in-memory, on-disk, localStorage), and a promise-deduplication layer for async operations. Compared to alternatives like p-memoize or moize, this library enforces a simpler wrapper pattern and requires explicit cache configuration. Release cadence is irregular, with maintenance mode likely.

total hits 16
actors 3 distinct systems
last hit 20d ago human
GPTBot
3
Amazonbot
3
ByteDance
3
Humans
7

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇬🇧 United Kingdom