Category "node-streams"

How to convert Web Stream to NodeJS native Stream

I am taking file input from user as <input type="file"/> It returns file object has Blob. This object has a method .stream() which returns ReadableStream

nodeJS Convert Buffer to fs.ReadStream object

I'm saving an image file locally so I can ready it using fs.createReadStream() and append it to my FormData to send it to a REST api. Like this: (I'm using the

Making renderToNodeStream work with an async Helmet version

I am trying to convert my working SSR code from renderToString to renderToNodeStream, which became available in thew React.JS, for improved time-to-first-byte.