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.0.4, sockjs 0.3.19 and ws 4.0.0.
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.
When comparing those packages you notice that
socket.io is the more popular package today
Stars on Github).
socket.io has been out there for longer (since 7 years ago), it also has more versions, more frequent updates, more stars on Github, more followers on Github and more forks.
sockjs has a bigger community of maintainers and less dependencies.
ws has more daily downloads, more weekly downloads, more monthly downloads, less open issues and less open pull requests.
In our review socket.io got 3,605,997 points, sockjs got 2,665,608 points and ws got 7,720,851 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|
|websocket, websocket-node, socketio||websocket, websocket-node, socketio||websocket, socketio, websocket-node|
|created||7 years ago (Dec, 2010)||6 years ago (Aug, 2011)||6 years ago (Dec, 2011)|
|modified||2 days ago||3 months ago||a day ago|
|version average||every 24 days||every 2 months||every 25 days|
|open pull requests||20||4||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|