cacheable
Installation
SKILL.md
Apply these conventions when working with the Cacheable ecosystem in Node.js/TypeScript projects.
Package Selection
| Use Case | Package |
|---|---|
| Full L1/L2 caching with hooks, events, stats, sync | cacheable |
| NestJS / existing cache-manager users | cache-manager |
| Simple in-memory LRU cache | @cacheable/memory |
| HTTP response caching | cacheable-request |
Drop-in node-cache replacement |
@cacheable/node-cache |
Setup
import { Cacheable } from 'cacheable'
// Memory-only
const cache = new Cacheable()