A Node.js package that allows streaming data into a Redis cache and retrieving it as a stream. Version 0.0.4 is the latest release; no recent updates indicate active maintenance. It provides a simple API to cache the output of a function that returns a readable stream, with a configurable TTL. Unlike more comprehensive caching solutions, this package focuses solely on stream-based Redis caching with a minimal interface.
npm install node-stream-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates caching a request stream in Redis with a 60-second TTL.
Consider alternatives like ioredis or redis-stream.
Ensure Redis server is accessible before using this package.
Start Redis server locally or provide correct connection settings.
Ensure the work function returns a valid stream object.