Hacker News new | ask | show | jobs
by skybrian 35 days ago
Why more secure?

I see that Deno has WebSockets, but I've never used them: https://docs.deno.com/api/web/~/WebSocket

2 comments

Because it entirely removes dependency for external libraries and package repositories, like npm, for basic internet interoperability.

I (also) basically use only one package: ws.

"ws" is regularly the only package in my package.json
Same. Without that I could remove all npm dependence, which would greatly improve security.
If you're not tied to the ecosystem, why not switch to Deno?
Actually, maybe you are correct and I should.