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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow SockJS-node

SockJS-node Web Site

Other Useful Business Software
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SockJS-node!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript WebSocket Servers

Registered

2023-08-14