SSMatteo Collina Thanks for the reply! Yes, understood for static files which can be directly served, but I was thinking more of the case when there is a pipeline - reading file then transforming and finally sending as a response...Reply·Article·Jul 25, 2024·A guide to reading and writing Node.js streams
SSThank you for a great streams overview! How would you write out the correct version of HTTP stream example with stream/promises pipeline, pass res as last parameter? And for fastify, reply.send?Comment·Article·Jul 20, 2024·A guide to reading and writing Node.js streams