PACKAGE · CACHING

ioredis

A robust, performance-focused and full-featured Redis client for Node.js.

WEEKLY DOWNLOADS 44.7M
STARS 15.4K
FORKS 1.3K
OPEN ISSUES 151
GZIP SIZE 62.0 kB
UNPACKED SIZE 1.5 MB
DEPENDENCIES 7
LAST UPDATED 9mo ago
DOWNLOAD TRENDS

ioredis downloads · last 12 months

Download trends for ioredis1 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.036.6M73.3M109.9M146.6MNov 2025FebMayAugOct 2026
ioredis
ABOUT IOREDIS

ioredis is a Redis client for Node.js that provides application code with a way to communicate with Redis for operations such as caching and other Redis-backed workflows. It addresses the connection and command interface between a Node.js service and Redis, with support for Redis Cluster, Sentinel, and Redis modules.

Its stated design emphasizes performance and a full-featured client rather than a narrow key-value wrapper. That makes it relevant to Node.js developers who want to use Redis capabilities directly and configure client behavior around their deployment, including clustered or Sentinel-managed Redis setups.

ioredis exposes Redis commands through a client API and supports patterns for working with Cluster and Sentinel connections. Its topic coverage also includes TypeScript and Redis modules, so it can fit codebases that use typed Node.js development or extend Redis with module-provided commands; check the package’s documentation for the exact APIs and configuration supported by the version you install.

The client fits Node.js services and tools that use Redis for caching or other server-side data workflows. It can be integrated wherever application code needs to issue Redis commands, with Redis itself remaining a separate service to configure and operate; the package is not a framework or a standalone data store.

The package is version 6.1.0, licensed under MIT, and has a reported gzip bundle size of 62.0 kB and unpacked size of 1.5 MB. Its reported 45.3M weekly downloads, 15.4K GitHub stars, and 1.3K forks indicate substantial ecosystem usage, while 153 open issues and the listed update date of 2026-11-23 are useful context when assessing maintenance and support.

Because ioredis covers Redis commands, Cluster, Sentinel, and module-related workflows, it may be more client surface than an application needs if it only requires a very narrow Redis interaction. It also depends on access to a Redis deployment, and features such as clustering or Sentinel require corresponding Redis-side infrastructure rather than being provided by the Node.js package itself.

WHEN TO USE
  • Use ioredis when a Node.js service needs to issue Redis commands through a dedicated client API for caching or other Redis-backed workflows.
  • Use its Cluster support when the Redis deployment is configured as a cluster and application code must connect through that topology.
  • Use its Sentinel support when connecting to a Redis deployment managed through Sentinel.
  • Choose it when application code needs Redis module-related capabilities; verify the relevant commands and configuration against the version 6.1.0 documentation.
  • Use it in a TypeScript Node.js codebase that wants a Redis client with TypeScript among its supported ecosystem topics.
  • Consider its 62.0 kB reported gzip bundle size and 1.5 MB unpacked size when evaluating the client’s footprint for a Node.js deployment.
WHEN NOT TO USE
  • Avoid ioredis if the application does not use Redis; use its existing storage or caching layer rather than adding a Redis client and Redis deployment.
  • Avoid it when the application only needs data held within a single Node.js process; use in-process data structures instead of a Redis-backed connection.
  • Avoid its Cluster features if the Redis deployment is not clustered; use a client setup that matches the actual Redis topology and omit cluster-specific configuration.
  • Avoid its Sentinel support if Redis is not managed through Sentinel; configure a connection approach suited to the deployment’s actual failover setup.
  • Avoid choosing it solely to provide Redis module functionality if the required module commands are not supported by the Redis server; confirm server and client compatibility or use the server’s available commands.
  • Avoid it if a 62.0 kB reported gzip bundle size or 1.5 MB unpacked size conflicts with your deployment constraints; evaluate a lighter Redis access approach against the required features.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

COMPARISONS 4
ioredis vs @vercel/remote-rush ★ 195 · 162.2K/wk ioredis vs unstorage ★ 2.7K · 27.1M/wk ioredis vs cache-manager ★ 2.0K · 6.4M/wk ioredis vs keyv ★ 3.2K · 227.9M/wk