with-simple-cache
JSON →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.
Resources
packagewith-simple-cache ↗
API endpoints
full doc /v1/registry/with-simple-cache