ttl-cache

JSON →
library 1.0.2 ·javascript
verified Jun 7, 2026

Simple in-memory object cache with per-item TTL (time-to-live) expiry. Version 1.0.2 is the latest stable release, with infrequent updates. Key differentiators: lightweight, zero dependencies, simple API. Suitable for small-scale caching needs where a full-featured cache like node-cache or lru-cache is overkill.