redis-js

JSON →
library 0.1.2 ·javascript maintenance
verified Jun 7, 2026

An in-memory Redis-compatible mock implementation in pure JavaScript, ideal for testing Redis-dependent code without a real server. Version 0.1.2 (stable, low release cadence) supports core Redis commands (SET, GET, DEL, pub/sub, createClient) with blocking, callback, async, and promise styles. Unlike other mocks, it runs entirely in-memory and can be used in both Node.js and browser environments. No network overhead, no external dependencies.