3 ms·
It's so sad that node refuses to add websocket server support. Adding websocket would simplify stuff tremendously, as well as make deployments much, much more
by emilfihlman 5mo ago
It's so sad that node refuses to add websocket server support.
Adding websocket would simplify stuff tremendously, as well as make deployments much, much more secure.
- skybrian 5mo agoWhy more secure? I see that Deno has WebSockets, but I've never used them: https://docs.deno.com/api/web/~/WebSocket https://docs.deno.com/api/web/~/WebSocket
- owebmaster 5mo ago"ws" is regularly the only package in my package.json
- emilfihlman 5mo agoSame. Without that I could remove all npm dependence, which would greatly improve security.
- skybrian 5mo agoIf you're not tied to the ecosystem, why not switch to Deno?
- emilfihlman 4mo agoActually, maybe you are correct and I should.
- emilfihlman 5mo agoBecause it entirely removes dependency for external libraries and package repositories, like npm, for basic internet interoperability. I (also) basically use only one package: ws.