8 Best WebSocket Libraries For Node

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • Faye

    Simple pub/sub messaging for the web

  • Faye WebSocket is a versatile WebSocket implementation derived from the Faye project. Faye is a messaging system that uses the Publish/Subscribe model and the Bayeux protocol. It provides message servers for Node, Ruby, and all major web browsers.

  • Socket.io

    Realtime application framework (Node.JS server)

  • Socket.IO, founded in 2010, is a popular WebSocket library with nearly 59k stars on GitHub and about 3 million weekly npm downloads. It’s used by many top companies, including FlutterWave, and Trello. Socket.IO is optimized to function well in network environments that have intermediary components such as proxies and load balancers. Socket.IO is a go-to WebSocket Node library for many developers.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • ws

    Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js

  • WS has a user base of 17.7 million people and over 20,000 forks. It also has clear and concise documentation, with examples and API references, to help developers understand how to integrate it into their projects.

  • µWebSockets

    Simple, secure & standards compliant web server for the most demanding of applications

  • µWebSockets, pronounced as "microWebSocket”, is a WebSocket library written in C++ and has Node.js bindings. Its design focuses on being efficient and scalable, making it ideal for applications that require high concurrency and low latency.

  • uWebSockets.js

    μWebSockets for Node.js back-ends :metal:

  • # Clone the repo w/ submodules git clone --recursive https://github.com/uNetworking/uWebSockets.js.git # Cd into the folder cd uWebSockets.js # build make

  • feathers

    The API and real-time application framework

  • The project has gained almost 15k GitHub stars and 26k npm weekly downloads. The Feathers library is widely known for its simplicity and ease of integration with various databases, and it also comes with excellent documentation to help you get started.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts