lru-cache-plus
JSON →Extended version of Isaac's lru-cache 2.5.0. Adds per-item expiration (TTL) support via set(key, value, maxAge) and get() respects individual maxAge. Core LRU behavior retained: max size, length function, dispose callback, stale options, and forEach/keys/values iteration. Synchronous, zero dependencies, CommonJS only. Version 2.5.0 is stable but unmaintained; use the newer 'lru-cache' package (v4+) for continued updates and ESM support.
Resources
packagelru-cache-plus ↗