{"library":"cacheables","type":"library","category":null,"description":"Cacheables is a small, typed in-memory cache library (v3.0.1) written in TypeScript with zero dependencies. It wraps async functions with `remember()`, supporting five cache policies including stale-while-revalidate and concurrency-safe deduplication. A key differentiator is multilayer storage: stack a fast L1 memory bucket with any L2 (filesystem, Redis, S3) and cascading reads backfill missing layers. Fully typed with a generic TView projection. Released monthly on GitHub. Supports browser and Node.js >=18. ESM-only since v3.","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","node","browser","cache","in-memory","typescript","remember","cacheables","multilayer"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cacheables","imports":["import { Cacheable } from 'cacheables'","import { MemoryBucket } from 'cacheables'","import type { IBucket } from 'cacheables'","import type { CacheableOptions } from 'cacheables'"]},{"cmd":"yarn add cacheables","imports":[]},{"cmd":"pnpm add cacheables","imports":[]}],"homepage":"https://github.com/grischaerbe/cacheables#readme","github":"https://github.com/grischaerbe/cacheables","docs":null,"changelog":null,"pypi":null,"npm":"cacheables","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}