Closed fonsp closed 3 years ago
This package is wrapping the native web API Websocket Client and the ws standard library. You can execute the callback of WebSocket as an EventEmitter. Good Idea. I will write the description on the README.
I see! So this package would be best for people coming from NodeJS, while people coming from browser JS should use the native WebSocket capabilities?
No problem in choosing freely. I will respect the user's choices.
Hey! I was looking for websocket capabilities in deno using google ("deno websocket"), and this was the first result. Later, I found that the native web API
WebSocket
is already supported in deno for ws clients, and there is aws
standard library for hosting a ws server.Perhaps on the README you could clarify the relation between this package and those two alternatives? Which would you recommend for newcomers?
Thanks! -fons