
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
Concatenate Node JS ReadStreams!
Example, print the contents of myfileA followed by myfileB, this is
equivalent to using cat(1): cat myfileA myfileB.
var streamCat = require('streamcat');
streamCat([
fs.createReadStream('myfileA'),
fs.createReadStream('myfileB')
]).pipe(process.stdout);
streamCat(listOfStreamsOrBuffers)streamCat will take a list of ReadStreams, Buffers, or Promises
returning a ReadStream or Buffer as its only
argument and returns a ReadStream that will stream the concatenation of each
item in the list.
You can mix Buffer, ReadStream, and Promise usage, in this instance, the String
"Some content" will be streamed between myfileA and myfileB:
streamCat([
fs.createReadStream('myfileA'),
new Buffer("Some content"),
fs.createReadStream('myfileB')
]).pipe(process.stdout);
Example using Promises that has the same result as the above example, the
value in the Promise is resolved asynchronously:
streamCat([
fs.createReadStream('myfileA'),
Promise.resolve(new Buffer("Some content")),
fs.createReadStream('myfileB')
]).pipe(process.stdout);
MIT
FAQs
Concatenate ReadStreams and Buffers!
The npm package streamcat receives a total of 6 weekly downloads. As such, streamcat popularity was classified as not popular.
We found that streamcat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.