{"library":"redis-rstream","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"1.0.1","tags":["javascript","stream","streams2","read","redis","binary"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install redis-rstream","imports":["const redisRStream = require('redis-rstream');","redisRStream(client, key, { chunkSize: 65536 })","const client = require('redis').createClient(null, null, {detect_buffers: true});"]},{"cmd":"yarn add redis-rstream","imports":[]},{"cmd":"pnpm add redis-rstream","imports":[]}],"homepage":"https://github.com/jeffbski/redis-rstream#readme","github":"git://github.com/jeffbski/redis-rstream","docs":null,"changelog":null,"pypi":null,"npm":"redis-rstream","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}