A Redis-based storage plugin for Verdaccio, the lightweight private npm proxy registry. Current stable version is 1.2.4 (released 2022-09-26). Since v0.2.5, the library switched from node-redis to ioredis for better performance and cluster support. It stores package metadata in Redis hashes, sets, and strings with a 've:' prefix. Not recommended for large tarballs; use with a proxy like verdaccio-storage-proxy for tarball storage. Includes a CLI for dump/restore operations.
npm install verdaccio-redis-storageNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import, configure, and initialize the Redis storage plugin programmatically.
Update Redis connection options to be compatible with ioredis. See ioredis documentation for connection options.
Set enableOfflineQueue: true in your Redis storage configuration (or omit, as default is true).
Use verdaccio-storage-proxy to offload tarball storage to an external backend (e.g., AWS S3, MinIO).
Manually back up Redis keys with prefix 've:token:*' using redis-cli or other tools.
Run: npm install ioredis
Verify Redis is running and the host/port configuration is correct. Ensure network connectivity.
Use const RedisStorage = require('verdaccio-redis-storage').default;