{"library":"expiring-lru-cache","type":"library","category":null,"description":"Expiring LRU cache for Node.js built on top of lru-cache. Version 2.1.0 adds support for Bunyan logging and configurable item expiry. Provides a simple key-value store with LRU eviction and TTL per item. Differentiators: integrates with Bunyan for trace-level logging, lightweight wrapper around lru-cache. No breaking changes reported. Low release cadence (last release 2015). Minimal dependencies.","language":"javascript","status":"maintenance","version":"2.1.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install expiring-lru-cache","imports":["const Cache = require('expiring-lru-cache');","const cache = new Cache({size: 100, expiry: 300});","cache.set('key', value);","const val = cache.get('key');","cache.del('key');","cache.reset();"]},{"cmd":"yarn add expiring-lru-cache","imports":[]},{"cmd":"pnpm add expiring-lru-cache","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"expiring-lru-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}