Elestia Open Source Ratings
8.3

node-redis

A strong pick. 1st of 10 caching and Redis clients.

node-redis (the npm package `redis`) is the official Redis client for Node.js. Redis Inc. funds and maintains it, it covers the newest Redis 8 commands and modules, and Redis now recommends it over ioredis for new projects. It is a strong default for TCP-based Node servers, but its major versions bring real breaking changes, and its download growth trails the median.

Best for: Node.js backends that talk to a Redis or Redis Stack server over TCP and want the officially supported client with full command and module coverage.

WebsiteGitHubnpm

Scores

Overall8.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

For a new Node project with a Redis server, this is the pick Redis recommends. It is funded, very active, has the widest feature coverage and is gaining over ioredis in the official ecosystem. It falls short of the category default because users still report reconnect and failover issues, major versions break defaults, and its download growth lags ioredis. It also does not cover in-memory or edge caching, where lru-cache, Keyv or Upstash fit better.

GPT-6.2 Sol: 8.5, likely 7.4 to 9.4

For a new Node.js service that needs direct access to Redis, node-redis is my first choice for its current command coverage, typed API, and active maintenance. ioredis remains the simpler fit when using BullMQ’s default connection setup, and lru-cache fits an in-process cache. Cluster typing costs and download growth below the catalog baseline keep the recommendation below 9.

Needed by many5.6

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Many Node backend developers use Redis for caching, sessions, queues and rate limits. Still, it is a server-side need, and it requires a Redis server. Frontend work, edge work and in-process caching do not need it.

  • dependents: 154k dependent repositories, so server-side use is broad
  • Redis usage in Node backends: Redis is the most common external cache for web backends

GPT-6.2 Sol: 5.2, likely 4.1 to 6.4

Redis addresses a common backend need, and 28.3% of respondents to the 2026 Stack Overflow database question reported using it. This client targets Node.js services with a Redis connection, so browser apps and projects that only need an in-process cache have little use for it. The survey covers many languages and measures Redis use for every purpose, so it only approximates the audience for this client.

Helps a lot8.1

How well does it do the job for those who need it?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

It has the widest command and module coverage of any JS Redis client, typed commands, RESP3, cluster command routing, client-side caching and observability hooks. Users report reconnect and failover bugs around Sentinel and cluster. Its explicit-connect API and option syntax also differ from the ioredis patterns common in tutorials. An independent 2026 comparison calls it a close match for ioredis rather than clearly better.

GPT-6.2 Sol: 8.6, likely 7.4 to 9.5

Stable 6.3.1 combines typed Redis commands, automatic pipelining, client-side caching, Cluster, and Sentinel. The documented setup gives coding agents a clear example for connecting and handling errors, though examples written for older majors can use outdated methods or defaults. In an independent benchmark from before v6, sequential performance was close to ioredis and node-redis led on concurrent writes. A user measured high TypeScript memory use for cluster types on 6.3.0, and a partial fix merged after 6.3.1 shipped.

Holds up over time8.4

Will it still be a good choice in two years?

Claude Opus 5.5: 8.5, likely 7.5 to 9.5

Redis Inc. funds the project, and it was active in the last year, with 411 commits, 9 GitHub releases and 13 npm versions. Redis steers users from ioredis towards it, so the ecosystem is moving its way. The range stays open because each major version brings breaking defaults that force migration work.

GPT-6.2 Sol: 8.3, likely 7.1 to 9.2

Redis maintains the client, and the bundle records 411 commits and 13 npm versions over the past year. The 6.3.1 release commit confirms the October npm release while GitHub’s latest stable release page still shows 6.2.1. The team merged a contributor’s partial fix for the long-running cluster typing issue in November. A single account posts most recent GitHub releases, and the v6 runtime and reply changes show that major upgrades can take work.

Used widely7.4

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

It had 84.7M downloads in the last four weeks and the most dependent repositories (154k) of any Redis client here. That points to hundreds of thousands of projects. Its growth ratio of about 3.1 is below the 4.1 median and below ioredis at about 4.5, so its share of downloads is slipping. Queue libraries such as BullMQ install ioredis, which inflates the ioredis figure.

  • npm downloadsLast4Weeks: 84.7M now vs 26.9M a year ago, a ratio of about 3.1 against a 4.1 median
  • dependents: 154k repositories and 8.8k packages, against 50k repositories for ioredis
  • github stars: 17.6k stars, the most in the category

GPT-6.2 Sol: 6.8, likely 5.6 to 7.8

ecosyste.ms found 154,264 repositories and 8,794 npm packages depending on redis, with roughly three times as many tracked repositories as ioredis. Four-week installs rose from 26.9 million to 84.7 million, but the 3.14× ratio trails both the 4.1× catalog median and ioredis at 4.50×. That points to lost relative ground despite a large installed base. Automated and indirect installs inflate downloads, while projects using the separate @redis/client package can fall outside these counts.

  • dependents; peers ioredis dependentRepos: 154,264 tracked repositories versus 50,169 for ioredis
  • npm downloadsLast4Weeks; npm downloadsSame4WeeksYearAgo; medianDownloadsRatio; peers ioredis: 3.14× growth versus the 4.1× baseline and ioredis at 4.50×
  • keyv.org/docs/storage-adapters/redis: Keyv uses the separately published core client
Vouched for7.5

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

The Redis vendor backs it, the official docs and tutorials use it, and the ioredis README points new projects to it. Independent 2026 write-ups recommend it for new projects or rate it about even with ioredis. I found little independent production reporting or benchmark data. Most praise comes from Redis itself or from blog comparisons.

GPT-6.2 Sol: 8.0, likely 6.8 to 9.0

NodeBB uses node-redis for its Redis backend, and Keyv’s Redis adapter builds on the v6 core client. BullMQ ships a node-redis adapter and defaults to ioredis. Socket.IO documents node-redis support and still flags older reports of subscriptions failing to restore after reconnecting. These are concrete integrations, while production evidence specific to 6.3.1 is thinner.

Safe7.9

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It has one advisory ever, a 2021 regex issue in monitor mode that was fixed, and none in the last 24 months. It has an MIT licence and five dependencies, mostly its own @redis/* subpackages. Its Scorecard is 6.7, with weak Token-Permissions, Pinned-Dependencies and Fuzzing checks. The optional Entra ID auth package once pulled in a vulnerable uuid release, which was later fixed.

  • advisories: 1 total, 0 in the last 24 months
  • scorecard: Scores 6.7; Token-Permissions 0, Pinned-Dependencies 3, Code-Review 9
  • npm dependencies: 5 dependencies, mostly first-party @redis packages
  • github.com/redis/node-redis/releases: 6.0.0 bumped @azure/msal-node to drop a vulnerable uuid

GPT-6.2 Sol: 7.8, likely 6.6 to 8.8

The client is MIT-licensed, and the five direct dependencies of the full package are version-pinned packages from the same repository. The sole recorded client advisory was patched in 3.1.1 before public disclosure, and the bundle shows none in the last 24 months. The GitHub Actions release workflow is configured for npm trusted publishing. Scorecard shows strong code review but weak token permissions, dependency pinning in automation, and fuzzing, and the number of people who can trigger releases is unclear.

Good

  • Redis Inc. maintains it and adds new server features quickly, such as Redis 8.x commands, JSON, search, time series and vector sets.
  • It has a promise-first API, typed commands, and built-in cluster, Sentinel, pooling, RESP3 and client-side caching.
  • It is very active, with 411 commits and 13 npm versions in the last year, plus OpenTelemetry metrics and diagnostics channels.
  • It has the most dependent repositories of any Redis client in this category, about three times as many as ioredis.

Bad

  • Major versions change behaviour: v6 made RESP3 the default, raised the minimum to Node 20 and added a 5 s command timeout.
  • Users report reconnect and failover problems with Sentinel and cluster in GitHub issues, including a regression in a v5 minor release.
  • You must call `await client.connect()` before use, and its API differs from ioredis, so ioredis-trained snippets and AI agents often get it wrong.
  • It uses persistent TCP connections, so it does not fit edge and serverless runtimes, where Upstash's HTTP client is the usual pick.

The numbers

npm downloads, 4 weeks
85M ×3.1 in a year
GitHub stars
18k
Commits, 12 months
411
npm version
6.3.1 Oct 2026
Versions, 12 months
13
Advisories, 24 months
0 of 1 ever
OpenSSF Scorecard
6.7 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (redis/node-redis), npm (redis), OSV and the OpenSSF Scorecard.

Caching and Redis clients

  1. 8.3node-redis
  2. 8.2lru-cache
  3. 7.3Upstash Redis
  4. 7.1Valkey GLIDE
  5. 7.0unstorage
  6. 6.9ioredis
  7. 6.5BentoCache
  8. 6.3Keyv
  9. 6.2cache-manager
  10. 3.2node-cache
Compare all 10 on six scores