Top "Node.js-stream" questions

How to implement a writable stream

I want to pipe data from an amazon kinesis stream to a an s3 log or a bunyan log. The …

node.js node.js-stream
Node.js Piping the same readable stream into multiple (writable) targets

I need to run two commands in series that need to read data from the same stream. After piping a …

javascript node.js stream pipe node.js-stream
How to wrap a buffer as a stream2 Readable stream?

How can I transform a node.js buffer into a Readable stream following using the stream2 interface ? I already found …

node.js node.js-stream
Pipe to stdout and writeable stream

I'm piping a file through a duplex string (courtesy of through) and I'm having trouble printing information to stdout and …

node.js node.js-stream
How to mock streams in NodeJS

I'm attempting to unit test one of my node-js modules which deals heavily in streams. I'm trying to mock a …

node.js unit-testing node.js-stream
Node.js "write after end" error

Starting off with a basic node app, and I can't figure out how to beat this "write after end" error, …

javascript node.js node.js-stream
How to pipe one readable stream into two writable streams at once in Node.js?

The goal is to: Create a file read stream. Pipe it to gzip (zlib.createGzip()) Then pipe the read stream …

node.js gzip zlib gzipstream node.js-stream
Node.js - How to get stream into string

I have got stream and I need to get stream content into string. I stream from internet using http.get. …

string node.js stream node.js-stream
Node.js net library: getting complete data from 'data' event

I've searched around, and either can't find the exact question I'm trying to answer, or I need someone to explain …

javascript node.js tcp node.js-stream
Creating a Node.js stream from two piped streams

I'd like to combine two Node.js streams into one by piping them, if possible. I'm using Transform streams. In …

node.js node.js-stream