Redis Stack (RedisJSON) driver for DeepBase, enabling nested JSON document storage with automatic key escaping. Current stable version 3.6.9. Requires Redis Stack (not standard Redis) for JSON module support. Provides atomic increment/decrement operations via JSON.NUMINCRBY and efficient key scanning. Supports connection to local, password-protected, TLS/SSL, and Redis Cloud instances. Works with DeepBase's multi-tier architecture as cache layer.
npm install deepbase-redis-jsonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a DeepBase instance with Redis driver, connect, set/get data, and atomic increment.
Use Redis Stack (includes RedisJSON module). Start with: docker run -d -p 6379:6379 --name redis redis/redis-stack-server:latest
Use ES module import syntax: import RedisDriver from 'deepbase-redis-json'
No action needed (transparent), but be aware that stored key may differ from original.
Pass only prefix OR name, not both. Example: { prefix: 'myapp' }Call await db.connect() before any operations
Ensure Redis Stack server is running: docker start redis or check connection URL
Switch to Redis Stack image: docker run -d -p 6379:6379 redis/redis-stack-server:latest