{"library":"lru-memoizer","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","cache","memoize","lru","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install lru-memoizer","imports":["import memoizer from 'lru-memoizer'","import memoizer from 'lru-memoizer'; const { sync } = memoizer;","import type { MemoizeOptions } from 'lru-memoizer'"]},{"cmd":"yarn add lru-memoizer","imports":[]},{"cmd":"pnpm add lru-memoizer","imports":[]}],"homepage":"https://github.com/jfromaniello/lru-memoizer#readme","github":"git://github.com/jfromaniello/lru-memoizer","docs":null,"changelog":null,"pypi":null,"npm":"lru-memoizer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}