Here we compare between socket.io, sockjs and ws. In this comparison we will focus on the latest versions of those packages. The current versions are socket.io 2.1.1, sockjs 0.3.19 and ws 5.2.2.
node.js realtime framework server.
It was authored
on Dec, 2010.
ws, Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js. It was authored by Einar Otto Stangvik on Dec, 2011.
has been out there for longer (since 8 years ago), it also
has more versions.
sockjs has a bigger community of maintainers.
ws has more frequent updates, fewer dependencies, more daily downloads, more weekly downloads, more monthly downloads and fewer open pull requests.
In our review socket.io got 4,739,111 points, sockjs got 5,016,139 points and ws got 13,161,385 points. The points are a summary of how big the community is and how well the package is maintained.
Lets dive deeper and have a look at some more details on those packages.
|keywords||realtime, framework, websocket, tcp, events, socket, io||websockets, websocket||HyBi, Push, RFC-6455, WebSocket, WebSockets, real-time|
|author||N/A||Marek Majkowski||Einar Otto Stangvik|
|Related / similar packages|
|socketio, websocket-node, websocket||socketio, websocket-node, websocket||socketio, websocket-node, websocket|
|created||8 years ago (Dec, 2010)||7 years ago (Aug, 2011)||7 years ago (Dec, 2011)|
|modified||a month ago||4 months ago||5 days ago|
|version average||every 25 days||every 3 months||every 25 days|
|open pull requests||13||5||0|
|install||npm i -S socket.io||npm i -S sockjs||npm i -S ws|
|remove||npm r -S socket.io||npm r -S sockjs||npm r -S ws|