lru-memoizer
JSON →Memoize async (and sync) function results using an LRU cache. Version 3.0.0 wraps lru-cache v7+. Key differentiator: custom hash function for cache keys, disable option for conditional caching, and optional deep-freeze/clone of results. ESM and CJS compatible, ships TypeScript definitions. Useful for caching expensive async operations like HTTP requests or database calls.
Resources
packagelru-memoizer ↗