{"library":"redis-memoizer","type":"library","category":null,"description":"An asynchronous function memoizer for Node.js using Redis as a shared cache store, with configurable TTL. Version 1.0.2 (stable) works with promises and async/await on Node 8+. It provides a drop-in caching layer for heavy async functions, with cache shared across processes via Redis. Differentiators: network-available cache, TTL-based expiration, and support for both async/await and promises. Compared to other memoizers, it uses an external Redis store, making it suitable for distributed systems.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-memoizer","imports":["import memoize from 'redis-memoizer'; (ESM) or const memoize = require('redis-memoizer');","const memoizedFunc = memoize(asyncFunc, { name: 'funcName' });","memoize(funcReturningPromise, { name: 'func' });"]},{"cmd":"yarn add redis-memoizer","imports":[]},{"cmd":"pnpm add redis-memoizer","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"redis-memoizer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}