Im trying to create a file from a string that contains html content for example:
const html = "<!DOCTYPE html> <html> <body> <p>example</p> </body> </html>
";
Now how would you create a read stream and pipe it to the response without creating the file locally?