Create arbitrary Node.js streams to and from Redis. Version 0.1.0 is the latest stable release. This package allows you to treat Redis commands as streams, enabling piping and transformation of Redis data using Node.js stream APIs. It provides a Redis constructor, a method to create command-specific streams, and parse utilities for handling Redis protocol responses. Key differentiators include built-in stream parsing for hgetall and direct network stream access.
npm install redis-streamNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a Redis client, obtaining a stream for LPUSH, and piping output to stdout.
Use ioredis or redis (node-redis) for streaming support.
Ensure host string is correct: 'localhost'.
Use Redis.parse helpers to parse responses.
Replace 'import Redis from "redis-stream"' with 'var Redis = require("redis-stream")'.Start Redis or provide correct host/port to constructor.
No dependency data recorded yet.