The maintainers of SockJS and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open-source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. SockJS is a JavaScript library (for browsers) that provides a WebSocket-like object. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server, with WebSockets or without. This necessitates the use of a server, which this is one version of, for Node.js.
Features
- The API design is based on common Node APIs like the Streams API or the Http.Server API
- SockJS module is generating a Server class, similar to Node.js http.createServer module
- Once you have create Server instance you can hook it to the http.Server instance
- A fully working echo server does need a bit more boilerplate (to handle requests unanswered by SockJS)
- WebSocket compatible load balancer
- SockJS-client Karma tests
Categories
WebSocket ServersLicense
MIT LicenseFollow SockJS-node
Other Useful Business Software
Go from Code to Production URL in Seconds
Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SockJS-node!