Redis adapter for the kvs key-value store abstraction. Version 2.2.3, maintained regularly. Provides a pluggable backend that implements the kvs interface (createBucket, get, set, delete) using Redis. Supports standard Redis connection options and integrates with kvs's bucket-based hierarchical storage. Differentiates from raw Redis clients by offering a unified kvs API with automatic serialization, bucket isolation, and lifecycle management.
npm install kvs-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to create a Redis-backed store using kvs, including Redis client setup, bucket creation, and basic get/set operations.
Migrate from store.get/set to store.createBucket().get/set
Pass Redis client instance as option { client: yourClient }Always await redisClient.connect() before using store
Use unique prefix in Store options
Call `await redisClient.connect()` before creating Store
Update kvs to v2 and use new bucket API
Use a Redis client that supports cluster mode (e.g., ioredis) and configure accordingly