Create a text file in node.js from a string and stream it in response
I think I understand what you’re trying to do. You want to send a .txt file to the client without actually creating a file on disc. This is actually pretty basic, and extremely easy. All you have to do is set your MIME type in the header, however most browsers don’t download .txt files by … Read more