{"library":"egg-cache","type":"library","category":null,"description":"Egg.js cache plugin based on cache-manager. Version 0.0.7 (released 2019) supports memory and external stores like Redis via cache-manager stores. Provides set/get/del/has/reset via app.cache, with optional TTL and closure/promise support. Low release cadence; no recent updates. Differentiator: integrates seamlessly into Egg.js lifecycle and configuration.","language":"javascript","status":"maintenance","version":"0.0.7","tags":["javascript","egg","eggPlugin","egg-plugin"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install egg-cache","imports":["// config/plugin.js\nmodule.exports = {\n  cache: {\n    enable: true,\n    package: 'egg-cache',\n  },\n};","await app.cache.set('key', 'value');","const store = app.cache.store('redis');\nawait store.set('foo', 'bar');"]},{"cmd":"yarn add egg-cache","imports":[]},{"cmd":"pnpm add egg-cache","imports":[]}],"homepage":"https://github.com/hexindai/egg-cache#readme","github":"https://github.com/hexindai/egg-cache","docs":null,"changelog":null,"pypi":null,"npm":"egg-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}