{"library":"node-redis-mock","type":"library","category":null,"description":"Node-redis-mock is a minimal mock implementation of the popular node_redis client for unit testing code that depends on Redis operations. Version 0.2.16 is the latest stable release, with last publish in 2015. It simulates Redis commands in-memory without requiring a running Redis instance. Key differentiators include support for a subset of Redis commands covering strings, hashes, lists, keys, pub/sub, transactions, and server commands. However, it lacks many modern ioredis features and is unmaintained, making it suitable only for legacy projects using node_redis. Release cadence is irregular; no updates in years.","language":"javascript","status":"abandoned","version":"0.2.16","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install node-redis-mock","imports":["var redis = require('node-redis-mock');","var client = redis.createClient();","var { createClient } = require('node-redis-mock');"]},{"cmd":"yarn add node-redis-mock","imports":[]},{"cmd":"pnpm add node-redis-mock","imports":[]}],"homepage":"https://github.com/yamsellem/node-redis-mock","github":"https://github.com/yamsellem/node-redis-mock","docs":null,"changelog":null,"pypi":null,"npm":"node-redis-mock","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}