tinycache
JSON →TinyCache is a minimal in-memory cache library for Node.js and the browser (~1.5 KB minified). Current stable version is 1.1.2. It provides a simple key-value store with optional TTL expiration, cache size/memory size tracking, hit/miss counters, and a shared singleton cache. The API is straightforward, inspired by node-cache but smaller in footprint. Heavier alternatives include node-cache or lru-cache which offer more features like LRU eviction and persistent backends. TinyCache is ideal for lightweight caching needs where simplicity and size are priorities.
Resources
packagetinycache ↗