{"library":"lru-cache-plus","type":"library","category":null,"description":"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.","language":"javascript","status":"deprecated","version":"2.5.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install lru-cache-plus","imports":["const LRU = require('lru-cache-plus')","const cache = LRU({ max: 500, maxAge: 1000 * 60 })","cache.set('key', 'value', 5000)"]},{"cmd":"yarn add lru-cache-plus","imports":[]},{"cmd":"pnpm add lru-cache-plus","imports":[]}],"homepage":"https://github.com/isaacs/node-lru-cache","github":"git://github.com/isaacs/node-lru-cache","docs":null,"changelog":null,"pypi":null,"npm":"lru-cache-plus","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}