{"library":"mock-redis-client","type":"library","category":null,"description":"A Redis mock for Node.js development, providing in-memory simulation of Redis commands (strings, hashes, lists, pub/sub, transactions, keys, server) without a real Redis server. Current stable version 0.91.13, low release cadence (last update 2016). Designed for unit testing Node.js applications that use the redis npm package. Supports CommonJS require, no TypeScript definitions, no ESM support. Key differentiator: can create a mock redis module that mimics the real redis.createClient API, allowing drop-in replacement. Limited command coverage compared to alternatives like ioredis-mock, and no longer actively maintained.","language":"javascript","status":"maintenance","version":"0.91.13","tags":["javascript","redis","mock-redis","redis-mock"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mock-redis-client","imports":["const MockRedisClient = require('mock-redis-client'); const client = new MockRedisClient();","const redis = require('mock-redis-client').createMockRedis();","const client = require('mock-redis-client').createMockRedis().createClient();"]},{"cmd":"yarn add mock-redis-client","imports":[]},{"cmd":"pnpm add mock-redis-client","imports":[]}],"homepage":"https://github.com/darrylwest/mock-redis-client","github":"https://github.com/darrylwest/mock-redis-client","docs":null,"changelog":null,"pypi":null,"npm":"mock-redis-client","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}