Is v4 ready for general use? Or should we continue using v0.12? (The main concern is compatibility with all the popular libraries in npm, the Node.js package ecosystem.)
I've not tried 4.1
If you can, check out https://github.com/websockets/ws .
I'll take a look at this. I only recently started using socket.io in my express site, so I'm not too deep down the rabbit hole. It seems to have close to the same syntax.
Any reason why you support ws over socket.io?
ws is faster, and most browsers now support web sockets properly.
If you want some isolation, there are various shim layers that are available.