node-redis-mock
JSON →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.
Resources
packagenode-redis-mock ↗