memoize-cache

JSON →
library 6.0.5 ·javascript
verified Jun 7, 2026

Configurable cache support for memoized functions, providing base-cache prototype, in-memory RAM cache (cache-ram), and no-cache mock for testing. Current stable version is 6.0.5, with irregular release cadence. Supports LRU eviction, TTL (maxAge), stale-while-revalidate (maxValidity), tag-based invalidation, custom serialization/deserialization, and custom key extraction. Designed to integrate with async-deco and has adapters for cache-manager and Redis via companion packages. Suitable for both Node.js and browser environments.