Skip to content
JS
Package category

WebSockets and realtime

WebSocket servers and clients, pub/sub and realtime messaging.

556 packages4 comparisons

Packages compared

556 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
@automattic/lasagna
lasagna.js, the reference client for the Lasagna web service
4.8k---1 year ago
0.8.1
CommonJSBundledWebSockets and realtime
actionhero
The reusable, scalable, and quick node.js API server for stateless and stateful applications
4.8k+70%-2 months ago
29.3.5
CommonJSBundledWebSockets and realtime, Node.js utilities
hapi-plugin-websocket
HAPI plugin for seamless WebSocket integration
4.8k-28%-1 year ago
2.4.11
CommonJSBundledWebSockets and realtime
koa-socket-2
Koa meets socket.io connected socket
4.8k+42%-5 years ago
2.0.0
CommonJSNoneWebSockets and realtime
opentok-react
React components for OpenTok.js
4.7k-38%-6 years ago
0.11.0
CommonJSBundledReact, Video and audio
@threadbase-sh/streamer
PTY session management, WebSocket streaming, and REST API server for Claude Code conversations
4.7k---today
1.101.12
ESM + CommonJSBundledWebSockets and realtime
socketio-auth
Authentication for socket.io
4.7k+46%-8 years ago
0.1.1
CommonJSNoneAuthentication and authorisation, WebSockets and realtime
@veltdev/tiptap-velt-comments
Tiptap Extension to add Google Docs-style overlay comments to your Tiptap editor. Works with the Velt Collaboration SDK.
4.7k---3 months ago
5.0.0-beta.3
ESM + CommonJSBundledWebSockets and realtime, Rich text and code editors
@zoom/rtms
Node.js Wrapper for the Zoom RTMS C SDK
4.6k---5 months ago
1.1.0
ESM onlyBundledWebSockets and realtime
@ipshipyard/node-datachannel
WebRTC For Node.js and Electron. libdatachannel node bindings.
4.6k---1 year ago
0.26.6
ESM + CommonJSBundledWebSockets and realtime, Video and audio
@liveblocks/zustand
A middleware for Zustand to automatically synchronize your stores with Liveblocks. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.
4.6k---4 days ago
3.24.2
ESM + CommonJSBundledWebSockets and realtime, React
@vercel/ai-sdk-openai-websocket-fetch
WebSocket transport for the AI SDK OpenAI provider — drop-in fetch replacement that routes streaming requests through a persistent WebSocket connection.
4.6k---5 months ago
1.0.0
ESM + CommonJSBundledWebSockets and realtime
@ws-kit/bun
Bun platform adapter for WS-Kit leveraging native WebSocket API with built-in pub/sub and low-latency message routing
4.6k---8 months ago
0.10.1
ESM onlyBundledWebSockets and realtime
localtunnels
A simple and smart tunneling solution. Expose your localhost to the world.
4.5k+117121%-1 month ago
0.2.13
ESM onlyBundledTypeScript tooling, WebSockets and realtime
@ennuicastr/webrtcaec3.js
Port of WebRTC's AEC3 (acoustic echo canceller, version 3) library to WebAssembly/JavaScript
4.4k---2 years ago
0.3.0
CommonJSBundledVideo and audio, WebSockets and realtime
@dramaorg/delectus-culpa-reprehenderit
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
4.3k---2 years ago
3.5.94
CommonJSNoneCLI tools and terminal utilities, Testing
tinyws
Tiny WebSocket middleware for Node.js based on ws.
4.2k+32%-7 months ago
1.0.0
ESM onlyBundledWebSockets and realtime, HTTP servers and web frameworks
tunnelmole
Tunnelmole, an open source ngrok alternative. Instant public URLs for any http/https based application. Available as a command line application or as an NPM dependency for your code. Stable and maintained. Good test coverage. Works behind firewalls
4.2k+39%-1 year ago
2.4.0
ESM onlyBundledTesting, WebSockets and realtime
shoe
streaming sockjs for node and the browser
3.9k+8%-13 years ago
0.0.15
CommonJSNoneWebSockets and realtime
express-sse
An Express middleware for Server-Sent Events (EventSource)
3.9k-48%-1 year ago
1.0.0
ESM + CommonJSBundledHTTP servers and web frameworks, WebSockets and realtime
qminder-api
Qminder Javascript API. Makes it easy to leverage Qminder capabilities in your system.
3.9k+244%-1 month ago
17.1.0
ESM onlyBundledWebSockets and realtime, TypeScript tooling
@rivetkit/framework-base
Base framework utilities for RivetKit client integrations
3.8k---1 day ago
2.3.21
ESM + CommonJSBundledCloud SDKs, WebSockets and realtime
@larksuite/channel
Channel SDK — let agents and external services integrate with the Feishu/Lark messaging system: reliable inbound events, message normalization, streaming replies, media upload, card interactions.
3.8k---18 days ago
0.7.1
ESM + CommonJSBundledWebSockets and realtime
connectic
Connectic is a javascript library for pub sub messaging, event handling, and data synchronization in real-time applications.
3.8k+230%-9 months ago
4.0.0
ESM + CommonJSBundledWebSockets and realtime, State management
@cossistant/core
Core library for connecting to Cossistant API and managing data fetching
3.7k---1 month ago
0.3.0
ESM onlyBundledTypeScript tooling, WebSockets and realtime
sockudo
Node.js client to interact with the Sockudo REST API
3.7k--1 month ago
2.2.0
CommonJSBundledWebSockets and realtime
@cordisjs/plugin-server
Server plugin for cordis
3.7k---3 months ago
1.7.0
ESM onlyBundledWebSockets and realtime
angular-socket.io-mock
Drop in Mock replacement for angular-socket-io
3.7k+73%-9 years ago
1.2.0
-NoneAngular, Testing
@sockudo/client
Sockudo JavaScript client full port on Bun + Oxc + Vite 8
3.7k---1 month ago
2.2.0
ESM onlyBundledWebSockets and realtime
@zitterorg/illo-hic-voluptatem
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
3.6k---2 years ago
7.6.72
CommonJSNoneCLI tools and terminal utilities, CSS-in-JS and styling
@hyper-fetch/react
React hooks and utils for the hyper-fetch
3.6k---3 days ago
9.0.0
ESM + CommonJSBundledGraphQL, React
primus-emitter
Simple emitter wrapper for Primus
3.6k+89%-11 years ago
3.1.1
CommonJSNoneWebSockets and realtime
@kesha-antonov/react-native-action-cable
Use Rails ActionCable channels with React Native for real-time WebSocket communication.
3.6k---10 days ago
3.0.2
CommonJSBundledWebSockets and realtime, React
ngx-mqtt
This library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.
3.6k-31%-2 years ago
17.0.0
ESM + CommonJSBundledAngular, WebSockets and realtime
@eulerstream/euler-websocket-sdk
Browser & Node.JS cross-compatible module for the Euler Stream WebSocket service.
3.6k---4 months ago
1.0.0
ESM onlyBundledWebSockets and realtime
@100mslive/hms-whiteboard
[![Lint, Test and Build](https://github.com/100mslive/web-sdks/actions/workflows/lint-test-build.yml/badge.svg)](https://github.com/100mslive/web-sdks/actions/workflows/lint-test-build.yml) [![Bundle Size](https://badgen.net/bundlephobia/minzip/@100mslive
3.6k---3 days ago
0.3.2
ESM + CommonJSBundledVideo and audio, WebSockets and realtime
v
Secure, Synchronized, Realtime, Cloud, Native JavaScript Variables & Events
3.6k+20%-9 years ago
0.3.0
CommonJSNoneWebSockets and realtime
@webpieces/cloudtasks-client
Cloud Tasks enqueue client generated from a shared @PubSub API contract (twin of http-client)
3.5k---1 day ago
0.4.817
CommonJSBundledWebSockets and realtime
@nestjs-redis/socket.io-adapter
Redis-powered Socket.IO adapter for NestJS enabling scalable WebSocket connections
3.5k---20 days ago
2.0.1
ESM onlyBundledWebSockets and realtime
markstream-react
React/Next.js streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, long documents, Mermaid, KaTeX, stream-diffs powered code blocks, and custom React components.
3.5k--4 days ago
2.0.13
ESM + CommonJSBundledMarkdown, WebSockets and realtime
@workadventure/noise-suppression
Browser noise suppression powered by LiteRT.js and DTLN models
3.4k---3 months ago
0.1.1
ESM onlyBundledWebSockets and realtime, Video and audio
vue-socket.io-extended
Socket.io bindings for Vue.js and Vuex (inspired by Vue-Socket.io)
3.4k-5%-5 years ago
4.2.0
ESM + CommonJSBundledWebSockets and realtime, State management
@veltdev/slate-velt-comments
Slate Extension to add Google Docs-style overlay comments to your Slate editor. Works with the Velt Collaboration SDK.
3.4k---7 months ago
5.0.0-beta.1
ESM + CommonJSBundledWebSockets and realtime
koa-easy-ws
Simple Koa middleware for websocket handling
3.4k+73%-4 years ago
2.1.0
CommonJSBundledWebSockets and realtime
socket.io-stream
stream for socket.io
3.3k-48%-9 years ago
0.9.1
-NoneWebSockets and realtime, Files and file systems
@azure/web-pubsub-socket.io
Enable Socket.IO server support Azure Web PubSub Service
3.3k---5 months ago
1.2.1
ESM + CommonJSBundledWebSockets and realtime
@socket.io/postgres-emitter
The Socket.IO Postgres emitter, allowing to communicate with a group of Socket.IO servers from another Node.js process
3.3k---1 year ago
0.1.1
CommonJSBundledWebSockets and realtime, Database clients and drivers
promise-ws
A Promise-Based WebSocket implementation for Node.js
3.3k-79%-8 years ago
1.0.0-1
CommonJSNoneWebSockets and realtime, Promises and async control flow
@signalwire/webrtc
SignalWire WebRTC library
3.2k---6 months ago
3.15.0
ESM + CommonJSBundledVideo and audio, WebSockets and realtime
sails.io.js
Javascript SDK for communicating w/ a Sails server via WebSockets/socket.io.
3.2k+59%-8 years ago
1.2.1
CommonJSNoneWebSockets and realtime

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • @automattic/lasagnalasagna.js, the reference client for the Lasagna web service
  • actionheroThe reusable, scalable, and quick node.js API server for stateless and stateful applications
  • hapi-plugin-websocketHAPI plugin for seamless WebSocket integration
  • koa-socket-2Koa meets socket.io connected socket
  • opentok-reactReact components for OpenTok.js
  • @threadbase-sh/streamerPTY session management, WebSocket streaming, and REST API server for Claude Code conversations
  • socketio-authAuthentication for socket.io
  • @veltdev/tiptap-velt-commentsTiptap Extension to add Google Docs-style overlay comments to your Tiptap editor. Works with the Velt Collaboration SDK.
  • @zoom/rtmsNode.js Wrapper for the Zoom RTMS C SDK
  • @ipshipyard/node-datachannelWebRTC For Node.js and Electron. libdatachannel node bindings.
  • @liveblocks/zustandA middleware for Zustand to automatically synchronize your stores with Liveblocks. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.
  • @vercel/ai-sdk-openai-websocket-fetchWebSocket transport for the AI SDK OpenAI provider — drop-in fetch replacement that routes streaming requests through a persistent WebSocket connection.
  • @ws-kit/bunBun platform adapter for WS-Kit leveraging native WebSocket API with built-in pub/sub and low-latency message routing
  • localtunnelsA simple and smart tunneling solution. Expose your localhost to the world.
  • @ennuicastr/webrtcaec3.jsPort of WebRTC's AEC3 (acoustic echo canceller, version 3) library to WebAssembly/JavaScript
  • @dramaorg/delectus-culpa-reprehenderit[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
  • tinywsTiny WebSocket middleware for Node.js based on ws.
  • tunnelmoleTunnelmole, an open source ngrok alternative. Instant public URLs for any http/https based application. Available as a command line application or as an NPM dependency for your code. Stable and maintained. Good test coverage. Works behind firewalls
  • shoestreaming sockjs for node and the browser
  • express-sseAn Express middleware for Server-Sent Events (EventSource)
  • qminder-apiQminder Javascript API. Makes it easy to leverage Qminder capabilities in your system.
  • @rivetkit/framework-baseBase framework utilities for RivetKit client integrations
  • @larksuite/channelChannel SDK — let agents and external services integrate with the Feishu/Lark messaging system: reliable inbound events, message normalization, streaming replies, media upload, card interactions.
  • connecticConnectic is a javascript library for pub sub messaging, event handling, and data synchronization in real-time applications.
  • @cossistant/coreCore library for connecting to Cossistant API and managing data fetching
  • sockudoNode.js client to interact with the Sockudo REST API
  • @cordisjs/plugin-serverServer plugin for cordis
  • angular-socket.io-mockDrop in Mock replacement for angular-socket-io
  • @sockudo/clientSockudo JavaScript client full port on Bun + Oxc + Vite 8
  • @zitterorg/illo-hic-voluptatemReact components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
  • @hyper-fetch/reactReact hooks and utils for the hyper-fetch
  • primus-emitterSimple emitter wrapper for Primus
  • @kesha-antonov/react-native-action-cableUse Rails ActionCable channels with React Native for real-time WebSocket communication.
  • ngx-mqttThis library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.
  • @eulerstream/euler-websocket-sdkBrowser & Node.JS cross-compatible module for the Euler Stream WebSocket service.
  • @100mslive/hms-whiteboard[![Lint, Test and Build](https://github.com/100mslive/web-sdks/actions/workflows/lint-test-build.yml/badge.svg)](https://github.com/100mslive/web-sdks/actions/workflows/lint-test-build.yml) [![Bundle Size](https://badgen.net/bundlephobia/minzip/@100mslive
  • vSecure, Synchronized, Realtime, Cloud, Native JavaScript Variables & Events
  • @webpieces/cloudtasks-clientCloud Tasks enqueue client generated from a shared @PubSub API contract (twin of http-client)
  • @nestjs-redis/socket.io-adapterRedis-powered Socket.IO adapter for NestJS enabling scalable WebSocket connections
  • markstream-reactReact/Next.js streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, long documents, Mermaid, KaTeX, stream-diffs powered code blocks, and custom React components.
  • @workadventure/noise-suppressionBrowser noise suppression powered by LiteRT.js and DTLN models
  • vue-socket.io-extendedSocket.io bindings for Vue.js and Vuex (inspired by Vue-Socket.io)
  • @veltdev/slate-velt-commentsSlate Extension to add Google Docs-style overlay comments to your Slate editor. Works with the Velt Collaboration SDK.
  • koa-easy-wsSimple Koa middleware for websocket handling
  • socket.io-streamstream for socket.io
  • @azure/web-pubsub-socket.ioEnable Socket.IO server support Azure Web PubSub Service
  • @socket.io/postgres-emitterThe Socket.IO Postgres emitter, allowing to communicate with a group of Socket.IO servers from another Node.js process
  • promise-wsA Promise-Based WebSocket implementation for Node.js
  • @signalwire/webrtcSignalWire WebRTC library
  • sails.io.jsJavascript SDK for communicating w/ a Sails server via WebSockets/socket.io.