SockJS

10
29
+ 1
0
Underscore

1.6K
555
+ 1
291
Add tool

SockJS vs Underscore: What are the differences?

Developers describe SockJS as "A WebSocket emulation". It 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. On the other hand, Underscore is detailed as "JavaScript's utility _ belt". A JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.

SockJS and Underscore can be categorized as "Javascript Utilities & Libraries" tools.

SockJS and Underscore are both open source tools. Underscore with 24.7K GitHub stars and 5.41K forks on GitHub appears to be more popular than SockJS with 1.73K GitHub stars and 278 GitHub forks.

Decisions about SockJS and Underscore

Fast Healthcare Interoperability Resources (FHIR) provides standard data objects in JSON format for the healthcare industry. Since JSON objects are hierarchical and tree-like, we had a need to defensively 'pluck' fields from our JSON objects and do lots of mapping. We tried jQuery and Underscore and a few other technologies like FHIRPath; but Lodash has been the most well supported, works in the most contexts, has the cleanest syntax, etc. We particularly like the ES6 version of Lodash, where we can import the method names directly, without resorting to * or _ syntax. We got hooked on the 'get' function to defensively pluck fields from objects without crashing our user interface, and have found countless uses for the other lodash functions throughout our apps. Lodash is great for developing and optimizing algorithms.

See more
Pros of SockJS
Pros of Underscore
    No pros available

    Sign up to add or upvote prosMake informed product decisions

    Sign up to add or upvote consMake informed product decisions

    What is SockJS?

    It 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.

    What is Underscore?

    A JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects.
    What companies use SockJS?
    What companies use Underscore?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with SockJS?
    What tools integrate with Underscore?
      No integrations found
      What are some alternatives to SockJS and Underscore?
      Socket.IO
      It enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.
      ws
      It is a simple to use, blazing fast, and thoroughly tested WebSocket client and server implementation.
      SignalR
      SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization.
      RabbitMQ
      RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
      Modernizr
      It’s a collection of superfast tests or detects as we like to call them which run as your web page loads, then you can use the results to tailor the experience to the user. It tells you what HTML, CSS and JavaScript features the user’s browser has to offer.
      See all alternatives
      Interest over time