redis-rstream

JSON →
library 1.0.1 ·javascript maintenance
verified Jun 7, 2026

redis-rstream is a Node.js read stream that streams binary or UTF-8 data in chunks from a Redis key using an existing Redis client. It implements the streams2 interface (Node >=0.10) and uses the GETRANGE command to read data in configurable chunk sizes (default 64KB). It supports optional range streaming via startOffset/endOffset. It requires a Redis client that supports getrange and can return Buffers (e.g., node_redis with detect_buffers). Version 1.0.1 is stable but not actively maintained; last updated in 2015. Key differentiator: uses an existing client connection rather than opening a separate Redis connection, which avoids authentication/connection overhead. However, it is superseded by more modern streaming approaches and the package may be unmaintained.