A Node.js write stream that pipes binary or UTF-8 data into a Redis key using an existing Redis client. Tests with mranney/node_redis, streams2 compatible (Node >=4). Stabilizes at v1.0.0 with low release cadence. Differentiates from other Redis stream implementations by reusing an existing client connection instead of opening its own, enabling shared authentication and connection pooling.
npm install redis-wstreamNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Redis write stream, pipes a file stream into it, and saves data to a Redis key. Uses environment variable for Redis host.
Pass `options.clientMulti` with a multi client to batch operations.
Omit or use a unique suffix per stream.
Upgrade Node.js to >=4.0.0.
Use v1.0.0 only on Node >=4.0.0.
Listen to the 'finish' event instead of 'end'.
Call `redisWStream(client, key)` without `new`.
Start Redis server or set correct host/port in `redis.createClient()`.
Check for errors on the read stream or write stream, and ensure proper error handling.