Stream a Sharp object / Node Readable with Deno.serve()
This works but isn't quite as fast as piping to the response object of 
node:http's createServer.
Can i somehow pipe the Sharp object directly to the response without writing my own ReadableStream?(Note: cancel() and headers omitted for brevity)2 Replies
This also sort of works but is actually crazy slow, like ~3x (always loading a 20MB image on purpose to exaggerate performance differences):
toWeb was added in Node v17 and is still marked as experimentalOpening an issue on GitHub would be useful to see if we can squeeze more performance.