Node.js Stream Concatenation

JSON →
library 2.0.0 ·javascript
verified May 27, 2026

The `stream-concat` library provides a simple and efficient mechanism for concatenating multiple Node.js readable streams into a single output readable stream. Currently at version `2.0.0`, it maintains an active development status, though a specific release cadence isn't explicitly defined. A core differentiator is its ability to handle streams in two ways: either by accepting an array of pre-existing streams or, more efficiently, by using a user-supplied function that returns the next stream on demand. This 'on-the-fly' stream creation significantly reduces memory consumption and improves performance, particularly when dealing with large datasets or numerous files, by preventing all streams from being buffered simultaneously. It builds upon Node.js's `Transform` stream, leveraging its underlying options like `highWaterMark` and `objectMode` for fine-grained control over stream behavior.

total hits 26
actors 8 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
Amazonbot
4
MetaBot
4
Script
1
ClaudeBot
1
Search engines
1
Humans
6

top countries 🇺🇸 United States · VN · 🇨🇦 Canada · 🇮🇩 Indonesia · 🇳🇱 Netherlands