{"library":"egg-redis","type":"library","category":null,"description":"Egg.js plugin providing Redis client integration via ioredis. Current version 2.6.1, supports Node >= 6.0.0 and Egg.js applications. Enables single or multiple Redis clients, Sentinel support, and custom ioredis versions. Primarily maintained by the Egg.js core team with monthly releases. Key differentiator: seamless integration with Egg.js lifecycle, supports weakDependent option to not block app startup, and enables per-client configuration. Based on ioredis, so all ioredis features (cluster, pipelining, etc.) are available.","language":"javascript","status":"active","version":"2.6.1","tags":["javascript","egg","eggPlugin","egg-plugin","redis","database","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install egg-redis","imports":["// In config/plugin.js:\nexports.redis = { enable: true, package: 'egg-redis' };","await app.redis.get('key');","// config/config.default.js\nconfig.redis = {\n  client: { host: '127.0.0.1', port: 6379, password: 'auth' }\n};"]},{"cmd":"yarn add egg-redis","imports":[]},{"cmd":"pnpm add egg-redis","imports":[]}],"homepage":"https://github.com/eggjs/redis#readme","github":"https://github.com/eggjs/redis","docs":null,"changelog":null,"pypi":null,"npm":"egg-redis","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}