{"library":"cacheable","type":"library","category":null,"description":"High performance layer 1 / layer 2 caching engine with distributed sync and enterprise features. Current stable version 2.3.5, actively maintained with regular releases. Built on top of the Keyv storage engine, it supports memory caching with LRU and expiration (CacheableMemory), wrap/memoization with stampede protection, hooks/events, and non-blocking operations. Key differentiators include TTL propagation across tiers, shorthand TTL strings (1m, 1h, 1d), and CacheSync for distributed cache updates via pub/sub. Fully typed with TypeScript, supports ESM and CommonJS. Compared to node-cache-manager, Cacheable offers tighter Keyv integration and built-in distributed sync.","language":"javascript","status":"active","version":"2.3.5","tags":["javascript","cacheable","high performance","layer 1 caching","layer 2 caching","distributed caching","Keyv storage engine","memory caching","LRU cache","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cacheable","imports":["import { Cacheable } from 'cacheable'","import { CacheableMemory } from 'cacheable'","import { KeyvCacheableMemory } from 'cacheable'","import { CacheSync } from 'cacheable'"]},{"cmd":"yarn add cacheable","imports":[]},{"cmd":"pnpm add cacheable","imports":[]}],"homepage":"https://github.com/jaredwray/cacheable#readme","github":"https://github.com/jaredwray/cacheable","docs":null,"changelog":null,"pypi":null,"npm":"cacheable","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}