{"library":"egg-lru","type":"library","category":null,"description":"Egg.js plugin wrapping lru-cache to provide LRU caching in Egg applications. Version 1.0.1 (latest) supports both single and multi-client configurations. It integrates seamlessly with Egg's plugin system and offers simple key-value cache with optional time-to-live. Alternative to egg-redis for in-memory caching with LRU eviction policy.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","egg","eggPlugin","egg-plugin","egg-lru"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install egg-lru","imports":["// Access via app.lru in Egg app","app.lru.set('key', 'value'); app.lru.get('key');","const long = app.lru.get('long'); long.set('key', 'value');"]},{"cmd":"yarn add egg-lru","imports":[]},{"cmd":"pnpm add egg-lru","imports":[]}],"homepage":"https://github.com/eggjs/egg-lru#readme","github":"https://github.com/eggjs/egg-lru","docs":null,"changelog":null,"pypi":null,"npm":"egg-lru","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}