logoalt Hacker News

zarzavatyesterday at 5:07 PM1 replyview on HN

It's news to me that anyone actually uses the web streams in node. I thought they were just for interoperability, for code that needs to run on both client and server.


Replies

apitmanyesterday at 8:29 PM

You need to use them for things like Cloudflare and Denos HTTP servers, which is actually a fairly common (and nice) pattern:

https://blog.val.town/blog/the-api-we-forgot-to-name/