title: express.js: how to download stream as a file?
body: <p>My story is as follows: a user uploads a txt file to an express.js server, where the text file is transformed to a pdf file; the pdf file can be streamed back to the browser via request.pipe. I can get the stream on the user side, but how to let the browser <em>download</em> the stream as a pdf file?</p>