KeyvCacheProxy

JSON →
library 0.2.3 ·javascript
verified Jun 7, 2026

KeyvCacheProxy (v0.2.3) is a JavaScript/TypeScript library that provides a transparent caching proxy for any object's method calls using Keyv as the underlying store. It automatically caches return values of all methods with configurable TTL support, handling nested objects via deep proxy. Released under active development with a focus on zero-configuration wrapping of API clients (Octokit, Notion, Slack). Key differentiators: automatic caching of all method calls without decorators, supports any Keyv-compatible storage backend (memory, Redis, MongoDB, etc.), cache hooks for observability, and async-by-default conversion. Requires Node >=18 and TypeScript ^5.9.3 as peer dependency.