4 ms·
Why 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
by skybrian 5mo ago
Why 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 5mo 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.