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
react-use-action-cable-ts
Hooks to easily use Rails Action Cable in your React application
3.2k+398%-1 year ago
2.2.1
CommonJSBundledWebSockets and realtime, React
websocket-express
express and ws combined
3.2k+50%-4 months ago
4.1.0
ESM + CommonJSBundledWebSockets and realtime
ember-websockets
EmberJS WebSockets addon for Ember-CLI apps.
3.1k+1%-4 years ago
10.2.1
-NoneWebSockets and realtime
@twurple/eventsub-ws
Listen to events on Twitch via their EventSub API using WebSockets.
3.1k---12 days ago
8.2.0
ESM onlyBundledWebSockets and realtime
whistle
HTTP, HTTP2, HTTPS, Websocket debugging proxy
3.1k+18%-11 days ago
2.10.10
-BundledWebSockets and realtime
@mobula_labs/sdk
Unified TypeScript SDK to access all Mobula REST and WebSocket endpoints with full type safety and real-time support
3.1k---1 month ago
0.1.18
ESM + CommonJSBundledWebSockets and realtime, TypeScript tooling
qawolf-socket-npm
QA Wolf automation testing package with real-world dependencies
3.1k+184%-1 day ago
1.0.648
CommonJSNoneTesting, WebSockets and realtime
@deco-cx/warp-node
WebSocket tunneling library for Node.js and other runtimes
3k---4 months ago
0.3.23
ESM onlyBundledWebSockets and realtime
hyperliquid
SDK for Hyperliquid API
3k+55%-1 year ago
1.7.7
ESM + CommonJSBundledBlockchain and Web3, WebSockets and realtime
okx-api
Complete Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests
3k+37%-1 day ago
3.2.4
ESM + CommonJSBundledWebSockets and realtime, Blockchain and Web3
vue-native-websocket-vue3
支持vue3和vuex、pinia的websocket插件
2.9k+1%-1 year ago
3.1.8
CommonJSBundledWebSockets and realtime, State management
@lemonsliceai/avatar
Browser helpers for integrating LemonSlice avatars
2.9k---2 months ago
0.1.0
ESM onlyBundledVideo and audio, WebSockets and realtime
@liveblocks/react-blocknote
An integration of BlockNote + React to enable collaboration, comments, live cursors, and more with Liveblocks.
2.9k---4 days ago
3.24.2
ESM + CommonJSBundledWebSockets and realtime, React
pcm-player
A minimalist javascript audio player for PCM streaming audio
2.9k+166%-2 years ago
0.0.18
CommonJSBundledWebSockets and realtime, Video and audio
@mintplex-labs/express-ws
WebSocket endpoints for Express applications
2.9k---2 years ago
5.0.7
CommonJSNoneWebSockets and realtime
mock-socket-with-protocol
Javascript mocking library for websockets and socket.io, compatible with apollographql subscriptions-transport-ws
2.9k+534%-8 years ago
7.1.1
CommonJSNoneWebSockets and realtime
@ably/ai-transport
Ably transport and codecs for building AI applications with Ably.
2.8k---1 month ago
0.8.0
ESM + CommonJSBundledWebSockets and realtime
lightstreamer-client-node
This package includes the resources needed to write a Lightstreamer client.
2.8k+86%-1 year ago
9.2.2
CommonJSBundledWebSockets and realtime
nexmo-client
Nexmo Client SDK for JavaScript
2.8k-33%-2 months ago
9.6.2
CommonJSNoneVideo and audio, WebSockets and realtime
schemapack
The fastest and smallest JavaScript object serialization library. Efficiently encode your objects in to compact byte buffers and then decode them back in to objects on the receiver. Integrates very well with WebSockets.
2.8k-45%-10 years ago
1.4.2
CommonJSNoneWebSockets and realtime
angular-websocket
An Angular WebSocket service for connecting client applications to servers.
2.7k-33%-10 years ago
2.0.1
CommonJSNoneWebSockets and realtime, Angular
redux-socket.io
An opinionated connector between socket.io and redux
2.7k+58%-9 years ago
1.4.0
CommonJSNoneWebSockets and realtime
@qingzhenghust/game-sdk
Riffle game backend HTTP/WebSocket and host capability SDK
2.7k---5 days ago
0.4.0
ESM onlyBundledWebSockets and realtime
@mempool/mempool.js
NPM package module for Mempool APIs.
2.7k---1 year ago
3.0.0
CommonJSBundledBlockchain and Web3, HTTP clients
aedes-server-factory
Aedes helper to create a server and bind its connection to Aedes
2.7k+79%-5 years ago
0.2.1
CommonJSBundledWebSockets and realtime
protoo-client
protoo JavaScript client module
2.7k+60%-6 months ago
4.0.8
CommonJSNoneWebSockets and realtime
@volcano.dev/sdk
Official JavaScript SDK for Volcano - Authentication, Database, Functions, Realtime, and more
2.7k---1 day ago
1.15.0
ESM + CommonJSBundledAuthentication and authorisation, WebSockets and realtime
@socket.io/redis-streams-emitter
The Socket.IO Redis streams emitter, allowing to communicate with a group of Socket.IO servers from another Node.js process
2.7k---10 months ago
0.1.1
CommonJSBundledWebSockets and realtime
y-socket.io
Socket IO Connector for Yjs (Inspired by y-websocket)
2.6k+14%-3 years ago
1.1.3
ESM + CommonJSBundledWebSockets and realtime
@runwayml/avatars
Framework-agnostic SDK for real-time AI avatar interactions
2.6k---2 months ago
0.17.0
ESM + CommonJSBundledWebSockets and realtime, Video and audio
@mataram/wa
A WebSockets library for interacting with WhatsApp Web
2.6k---3 months ago
0.11.0
ESM onlyBundledWebSockets and realtime
@bjowes/http-mitm-proxy
HTTP Man In The Middle (MITM) Proxy. This is a fork of Joe Ferners' library node-http-mitm-proxy. Its first release was identical to the master version of the original library, commit 66ac0f5d3298f66b731f90ebf1e9b430fa5d76eb. I decided to publish a scoped
2.6k---1 year ago
0.9.6
CommonJSBundledWebSockets and realtime
@fakehost/exchange
A basic package for building fake messaging services that communicate over websockets. Can run as a nodejs service, or be bundled inside the browser.
2.6k---2 years ago
1.0.0-beta.2
ESM + CommonJSBundledWebSockets and realtime
rpc-websocket-client
<p align="center"> <a href="https://github.com/radarsu/rpc-websocket-client/" target="blank"><img src="https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png" alt="rpc-websocket-client" /></a><br/> <strong>Fast JSO
2.5k+100%-6 years ago
1.1.4
ESM + CommonJSBundledWebSockets and realtime
@authbroker/authbroker
Authentication and Authorization module of HTTP/MQTT/CoAP Brokers based on NodeJS for IoT or Internet of Things.
2.5k---4 years ago
0.0.12
CommonJSNoneWebSockets and realtime
socket.io-react-hook
React hooks for socket.io 4.x
2.5k-40%-2 years ago
2.4.5
ESM + CommonJSBundledWebSockets and realtime, React
mqtt-jsonl-store
JSONL store for in-flight MQTT.js packets.
2.5k+79%-11 months ago
0.3.1
CommonJSBundledState management, WebSockets and realtime
@teamplay/sockjs
SockJS-node is a server counterpart of SockJS-client a JavaScript library that provides a WebSocket-like object in the browser. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication
2.5k---4 months ago
0.4.0-rc.1
CommonJSNoneWebSockets and realtime
@maildev/api
REST API and WebSocket server for MailDev
2.5k---2 days ago
3.0.0
ESM onlyBundledWebSockets and realtime
@angelitosystems/nest-devtools
One-line real-time debugging and observability for NestJS applications.
2.5k---15 days ago
2.0.1
ESM + CommonJSBundledWebSockets and realtime
@geckos.io/client
Real-time client/server communication over UDP using WebRTC and Node.js
2.5k---5 months ago
3.1.0
ESM onlyBundledWebSockets and realtime
twitch-js
Javascript library for the Twitch Messaging Interface.
2.5k+26%-3 years ago
2.0.0-beta.45
ESM + CommonJSBundledWebSockets and realtime
eiows
high-performance Node.js WebSocket engine for Socket.IO
2.5k+73%-1 month ago
11.1.1
ESM + CommonJSBundledWebSockets and realtime
@logux/core
Logux core components
2.4k---13 days ago
0.11.8
ESM onlyBundledWebSockets and realtime
zego-express-engine-webrtc
zego webrtc express sdk
2.4k+190%-7 months ago
3.12.0
CommonJSBundledHTTP servers and web frameworks, WebSockets and realtime
@gjsify/websocket
W3C WebSocket API for GJS using Soup 3.0
2.4k---1 day ago
0.52.0
ESM onlyBundledWebSockets and realtime
@smooai/smooth-operator
TypeScript SDK for the smooth-operator WebSocket protocol: the native client (`.`), React bindings (`./react`), and the embeddable web-component chat widget (`./widget`). Generated from the language-neutral JSON Schemas in spec/.
2.4k---17 days ago
1.58.10
ESM onlyBundledWebSockets and realtime, React
nuxt-socket-io
Socket.io client and server module for Nuxt. Just plug it in and GO
2.4k-22%-3 years ago
3.0.13
ESM onlyBundledWebSockets and realtime, Vue
@giantmachines/redux-websocket
A redux middleware to handle websocket connections
2.3k---5 years ago
1.5.1
CommonJSNoneWebSockets and realtime
@tsed/socketio
Socket.io package for Ts.ED framework
2.3k---4 days ago
8.38.8
ESM onlyBundledWebSockets 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.

  • react-use-action-cable-tsHooks to easily use Rails Action Cable in your React application
  • websocket-expressexpress and ws combined
  • ember-websocketsEmberJS WebSockets addon for Ember-CLI apps.
  • @twurple/eventsub-wsListen to events on Twitch via their EventSub API using WebSockets.
  • whistleHTTP, HTTP2, HTTPS, Websocket debugging proxy
  • @mobula_labs/sdkUnified TypeScript SDK to access all Mobula REST and WebSocket endpoints with full type safety and real-time support
  • qawolf-socket-npmQA Wolf automation testing package with real-world dependencies
  • @deco-cx/warp-nodeWebSocket tunneling library for Node.js and other runtimes
  • hyperliquidSDK for Hyperliquid API
  • okx-apiComplete Node.js SDK for OKX's REST APIs and WebSockets, with TypeScript & end-to-end tests
  • vue-native-websocket-vue3支持vue3和vuex、pinia的websocket插件
  • @lemonsliceai/avatarBrowser helpers for integrating LemonSlice avatars
  • @liveblocks/react-blocknoteAn integration of BlockNote + React to enable collaboration, comments, live cursors, and more with Liveblocks.
  • pcm-playerA minimalist javascript audio player for PCM streaming audio
  • @mintplex-labs/express-wsWebSocket endpoints for Express applications
  • mock-socket-with-protocolJavascript mocking library for websockets and socket.io, compatible with apollographql subscriptions-transport-ws
  • @ably/ai-transportAbly transport and codecs for building AI applications with Ably.
  • lightstreamer-client-nodeThis package includes the resources needed to write a Lightstreamer client.
  • nexmo-clientNexmo Client SDK for JavaScript
  • schemapackThe fastest and smallest JavaScript object serialization library. Efficiently encode your objects in to compact byte buffers and then decode them back in to objects on the receiver. Integrates very well with WebSockets.
  • angular-websocketAn Angular WebSocket service for connecting client applications to servers.
  • redux-socket.ioAn opinionated connector between socket.io and redux
  • @qingzhenghust/game-sdkRiffle game backend HTTP/WebSocket and host capability SDK
  • @mempool/mempool.jsNPM package module for Mempool APIs.
  • aedes-server-factoryAedes helper to create a server and bind its connection to Aedes
  • protoo-clientprotoo JavaScript client module
  • @volcano.dev/sdkOfficial JavaScript SDK for Volcano - Authentication, Database, Functions, Realtime, and more
  • @socket.io/redis-streams-emitterThe Socket.IO Redis streams emitter, allowing to communicate with a group of Socket.IO servers from another Node.js process
  • y-socket.ioSocket IO Connector for Yjs (Inspired by y-websocket)
  • @runwayml/avatarsFramework-agnostic SDK for real-time AI avatar interactions
  • @mataram/waA WebSockets library for interacting with WhatsApp Web
  • @bjowes/http-mitm-proxyHTTP Man In The Middle (MITM) Proxy. This is a fork of Joe Ferners' library node-http-mitm-proxy. Its first release was identical to the master version of the original library, commit 66ac0f5d3298f66b731f90ebf1e9b430fa5d76eb. I decided to publish a scoped
  • @fakehost/exchangeA basic package for building fake messaging services that communicate over websockets. Can run as a nodejs service, or be bundled inside the browser.
  • rpc-websocket-client<p align="center"> <a href="https://github.com/radarsu/rpc-websocket-client/" target="blank"><img src="https://raw.githubusercontent.com/radarsu/rpc-websocket-client/master/assets/logo.png" alt="rpc-websocket-client" /></a><br/> <strong>Fast JSO
  • @authbroker/authbrokerAuthentication and Authorization module of HTTP/MQTT/CoAP Brokers based on NodeJS for IoT or Internet of Things.
  • socket.io-react-hookReact hooks for socket.io 4.x
  • mqtt-jsonl-storeJSONL store for in-flight MQTT.js packets.
  • @teamplay/sockjsSockJS-node is a server counterpart of SockJS-client a JavaScript library that provides a WebSocket-like object in the browser. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication
  • @maildev/apiREST API and WebSocket server for MailDev
  • @angelitosystems/nest-devtoolsOne-line real-time debugging and observability for NestJS applications.
  • @geckos.io/clientReal-time client/server communication over UDP using WebRTC and Node.js
  • twitch-jsJavascript library for the Twitch Messaging Interface.
  • eiowshigh-performance Node.js WebSocket engine for Socket.IO
  • @logux/coreLogux core components
  • zego-express-engine-webrtczego webrtc express sdk
  • @gjsify/websocketW3C WebSocket API for GJS using Soup 3.0
  • @smooai/smooth-operatorTypeScript SDK for the smooth-operator WebSocket protocol: the native client (`.`), React bindings (`./react`), and the embeddable web-component chat widget (`./widget`). Generated from the language-neutral JSON Schemas in spec/.
  • nuxt-socket-ioSocket.io client and server module for Nuxt. Just plug it in and GO
  • @giantmachines/redux-websocketA redux middleware to handle websocket connections
  • @tsed/socketioSocket.io package for Ts.ED framework