finds.dev

mjackson/then-redis

A fast, promise-based Redis client for node.js

View on GitHub

★ 312JavaScriptupdated Aug 2016

// the take

then-redis is a thin promise-wrapper around node_redis that auto-generates a promise-returning method for every Redis command. It would be for someone on old-style callback Redis who wanted async/await without reimplementing the client, but the README itself says not to use it anymore.

Wraps node_redis instead of reimplementing the protocol, so the underlying connection handling is proven. The variable-length-argument command API plus automatic pipelining and object-friendly MSET/HMSET/HGETALL conveniences make simple scripts noticeably terser than raw node_redis. Decent test coverage — nearly every command has its own test file under modules/__tests__.

The README leads with its own deprecation notice: node_redis added native promise support years ago, which is the entire reason this package existed. Last push is from 2016 — no Node LTS compatibility testing since, no TypeScript types, and it pins to whatever ancient node_redis/redis-commands versions were current then. No cluster support, no reconnection strategy documented, and `client.send()` as the escape hatch suggests the magic command-generation layer doesn't cover every case cleanly.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
312
Forks
43
Language
JavaScript
Last commit
4 Aug 2016

// nearby

If then-redis isn't quite it.

All repos →