My issue here is that I have a stream pipeline set up like.
readableStream.pipe(transformStream).pipe(writableStream);
I don't really want the writable stream to write anywhere, I'm just using it so that the buffer of my transform stream doesn't get backed up. How could I make the writable stream write to an empty destination?
You can write it to /dev/null, there's an npm package for that https://www.npmjs.com/package/dev-null