SockJS
WebSocket emulation - Node.js server (by sockjs)
Primus
:zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in. (by primus)
Our great sponsors
SockJS | Primus | |
---|---|---|
2 | 3 | |
2,087 | 4,461 | |
0.1% | 0.1% | |
3.9 | 5.3 | |
6 months ago | 6 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SockJS
Posts with mentions or reviews of SockJS.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-18.
-
WebSockets and Node.js - testing WS and SockJS by building a web app
SockJS is a library that mimics the native WebSockets API. Additionally, it will fall back to HTTP whenever a WebSocket fails to connect, or if the browser being used doesn’t support WebSockets. Like WS, SockJS requires a server counterpart; its maintainers provide both a JavaScript client library and a Node.js server library.
-
Top WebSocket libraries for Node.js in 2022
SockJS is a JavaScript library that provides communication between the client and the server in a way similar to the native WebSockets API. SockJS functions with a server counterpart in the form of sockjs-node and SockJS-client, a JavaScript client library.
Primus
Posts with mentions or reviews of Primus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-06.
-
Technologies to create a chat application with different channels like Slack?
Socket.io would work, but I'd recommend using primus with uws https://github.com/primus/primus
-
We Improved Reliability of Our WebSocket Connections
Indeed it does! https://github.com/primus/primus/blob/a7ba7249cb0205a01629da...
I do wish we didn't all have to reinvent this wheel though…
-
Primus and async plugins
Did anyone use primus and knows if it supports async plugins?
What are some alternatives?
When comparing SockJS and Primus you can also consider the following projects:
Socket.io - Realtime application framework (Node.JS server)
SocketCluster - Highly scalable realtime pub/sub and RPC framework
deepstream.io - deepstream.io server
Faye - Simple pub/sub messaging for the web
humanify - Add human touch to otherwise very machined node.js streams.
Straw - Realtime processing framework for Node.js
SecureWebsocket - Secure WebSocket on HTTP using NaCL
Kalm - Moved to https://github.com/kalm/kalm.js