SockJS
sockette
Our great sponsors
SockJS | sockette | |
---|---|---|
2 | 1 | |
2,087 | 2,422 | |
0.4% | - | |
3.9 | 4.2 | |
5 months ago | 2 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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
-
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.
sockette
-
Top WebSocket libraries for Node.js in 2022
Sockette is a WebSocket wrapper that allows you to reuse instances without having to declare all event listeners multiple times. Sockette is a very lightweight library, just about 367 bytes according to the GitHub page. If a connection is lost, Sockette automatically reconnects.
What are some alternatives?
Socket.io - Realtime application framework (Node.JS server)
SocketCluster - Highly scalable realtime pub/sub and RPC framework
Primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
deepstream.io - deepstream.io server
Faye - Simple pub/sub messaging for the web
Straw - Realtime processing framework for Node.js
SecureWebsocket - Secure WebSocket on HTTP using NaCL
Kalm - Moved to https://github.com/kalm/kalm.js
sockjs-client - WebSocket emulation - Javascript client
deployd - a toolkit for building realtime APIs
rivalis - Simple, secure and fast real-time application development on top of NodeJS
humanify - Add human touch to otherwise very machined node.js streams.