Package category
WebSockets and realtime
WebSocket servers and clients, pub/sub and realtime messaging.
556 packages4 comparisons
Packages compared
556 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| detectrtc A tiny JavaScript library that can be used to detect WebRTC features e.g. system having speakers, microphone or webcam, screen capturing is supported, number of audio/video devices etc. | 33.9k | -37% | - | - 1.4.1 | CommonJS | Bundled | Video and audio, WebSockets and realtime | |
| ccxt-ir A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges | 33.6k | +4946% | - | 3 days ago 4.20.1 | ESM + CommonJS | Bundled | Blockchain and Web3, WebSockets and realtime | |
| sails API-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io) | 33.1k | +36% | - | 3 months ago 1.5.18 | CommonJS | None | WebSockets and realtime, HTTP servers and web frameworks | |
| @uppy/companion OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog: | 33k | - | - | - | 18 days ago 7.0.2 | ESM only | Bundled | WebSockets and realtime |
| parse-sse Parse Server-Sent Events (SSE) from a Response | 32.6k | - | - | 10 months ago 0.1.0 | ESM only | Bundled | WebSockets and realtime | |
| @moq/qmux QMux protocol (draft-ietf-quic-qmux-02) over WebSockets | 32.5k | - | - | - | 1 month ago 0.3.3 | ESM only | Bundled | WebSockets and realtime |
| tiktok-live-api-sdk TikTok LIVE API SDK for Node.js & TypeScript. Real-time TikTok LIVE chat, gifts, likes, follows, viewer counts and PK battles via the EulerStream managed TikTok LIVE API, with typed clients for webcast signing, rooms, gifts, rankings, LIVE alerts, moderat | 31.5k | - | - | 3 days ago 0.6.1 | ESM only | Bundled | Scraping and browser automation, WebSockets and realtime | |
| event-source-plus A better EventSource API | 30.7k | +171% | - | 10 months ago 0.1.15 | ESM + CommonJS | Bundled | WebSockets and realtime | |
| async-mqtt Promise wrapper over MQTT.js | 30.5k | -22% | - | 4 years ago 2.6.3 | CommonJS | Bundled | Promises and async control flow, WebSockets and realtime | |
| next-http-proxy-middleware Nextjs HTTP Proxy Middleware | 29.9k | -29% | - | 5 months ago 1.2.8 | CommonJS | Bundled | HTTP servers and web frameworks, WebSockets and realtime | |
| @socket.io/postgres-adapter The Socket.IO Postgres adapter, allowing to broadcast events between several Socket.IO servers | 29.8k | - | - | - | 10 months ago 0.5.0 | CommonJS | Bundled | Database clients and drivers, WebSockets and realtime |
| @wecom/aibot-node-sdk 企业微信智能机器人 Node.js SDK - WebSocket 长连接通道 | 29.4k | - | - | - | 4 months ago 1.0.7 | ESM + CommonJS | Bundled | WebSockets and realtime |
| permessage-deflate Per-message DEFLATE compression extension for WebSocket connections | 28.9k | -38% | - | 7 years ago 0.1.7 | CommonJS | None | Compression and archives, WebSockets and realtime | |
| @liveblocks/node-prosemirror A server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks. | 28.8k | - | - | - | 4 days ago 3.24.2 | ESM + CommonJS | Bundled | WebSockets and realtime |
| machine-as-action Run a machine from an HTTP or WebSocket request. | 26.8k | +59% | - | 6 years ago 10.3.1 | CommonJS | None | WebSockets and realtime | |
| it-ws Simple async iterables for websocket client connections | 26k | +28% | - | 2 years ago 6.1.5 | ESM only | Bundled | WebSockets and realtime | |
| @moq/web-socket-stream A WebSocketStream polyfill: a plain WebSocket wrapped as { readable, writable } streams with backpressure | 25.6k | - | - | - | 2 months ago 0.1.1 | ESM only | Bundled | Polyfills and shims, WebSockets and realtime |
| pubnub-react Publish & Subscribe Real-time Messaging with PubNub | 24.3k | +69% | - | 3 years ago 3.0.2 | ESM + CommonJS | Bundled | WebSockets and realtime | |
| websocket-ts A WebSocket client library with optional reconnecting and buffering capabilities. | 24.3k | +118% | - | 5 months ago 2.3.0 | ESM + CommonJS | Bundled | WebSockets and realtime, TypeScript tooling | |
| colyseus.js Colyseus Multiplayer SDK for JavaScript/TypeScript | 24.2k | +109% | - | 11 months ago 0.16.22 | ESM + CommonJS | Bundled | WebSockets and realtime | |
| superwstest supertest with added WebSocket capabilities | 24k | +256% | - | 4 months ago 3.0.0 | ESM + CommonJS | Bundled | WebSockets and realtime, Testing | |
| colyseus Multiplayer Framework for Node.js | 24k | +186% | - | 2 days ago 0.18.8 | ESM + CommonJS | Bundled | WebSockets and realtime | |
| @100mslive/hms-video-store @100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow | 23.8k | - | - | - | 3 days ago 0.15.2 | ESM + CommonJS | Bundled | Video and audio, WebSockets and realtime |
| @speclynx/apidom-ns-asyncapi-2 AsyncAPI 2.x.y namespace for ApiDOM. | 23.5k | - | - | - | 6 days ago 5.2.6 | ESM + CommonJS | Bundled | TypeScript tooling, WebSockets and realtime |
| @liveblocks/emails A set of functions and utilities to make sending emails based on Liveblocks notification events easy. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more. | 23.4k | - | - | - | 4 days ago 3.24.2 | ESM + CommonJS | Bundled | WebSockets and realtime, React |
| bnc-sdk SDK to connect to the blocknative backend via a websocket connection | 22.5k | +13% | - | 2 years ago 4.6.9 | ESM + CommonJS | Bundled | WebSockets and realtime | |
| obs-websocket-js OBS Websocket API in Javascript, consumes @Palakis/obs-websocket | 21.9k | +218% | - | 6 months ago 5.0.8 | ESM + CommonJS | Bundled | WebSockets and realtime, Node.js utilities | |
| socketcluster-server Server module for SocketCluster | 21.1k | -3% | - | 1 month ago 20.0.1 | CommonJS | None | WebSockets and realtime | |
| socket.io-mock a mocked version of a socket.io socket for testing | 20.8k | +17% | - | 5 years ago 1.3.2 | ESM + CommonJS | None | Testing, WebSockets and realtime | |
| markstream-vue Vue/Nuxt streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, long documents, Mermaid, KaTeX, and stream-diffs powered code blocks. | 20.5k | - | - | 4 days ago 2.0.13 | ESM only | Bundled | Markdown, WebSockets and realtime | |
| playwright-ws-trace Adds WebSocket frame tracing to Playwright trace viewer | 20.1k | - | - | 5 months ago 1.1.2 | CommonJS | None | WebSockets and realtime, Testing | |
| webtorrent Streaming torrent client | 19.2k | +92% | - | - 3.0.21 | ESM only | None | Video and audio, WebSockets and realtime | |
| http-mitm-proxy HTTP Man In The Middle (MITM) Proxy | 18.8k | +82% | - | 2 years ago 1.1.0 | CommonJS | Bundled | WebSockets and realtime | |
| ts-bus <p align="center"> <img src="logo.png" width="100" height="100"/> </p> | 18.7k | -39% | - | 6 years ago 2.3.1 | CommonJS | None | State management, WebSockets and realtime | |
| @stream-io/filter Emulate Stream API backend filters for client-side use (e.g. filtering WS events) | 18.6k | - | - | - | 6 months ago 1.0.1 | ESM + CommonJS | Bundled | WebSockets and realtime |
| websocket-as-promised A WebSocket client library providing Promise-based API for connecting, disconnecting and messaging with server | 18.3k | +187% | - | 1 year ago 3.0.1 | CommonJS | Bundled | WebSockets and realtime, Promises and async control flow | |
| tgrid Grid Computing Framework for TypeScript | 18.2k | +209% | - | 9 months ago 1.2.1 | ESM + CommonJS | Bundled | TypeScript tooling, WebSockets and realtime | |
| @colyseus/uwebsockets-transport <div align="center"> <a href="https://github.com/colyseus/colyseus"> <img src="media/logo.svg?raw=true" width="60%" height="300" /> </a> <br> <br> <a href="https://npmjs.com/package/colyseus"> <img src="https://img.shields.io/npm/dm/coly | 17.8k | - | - | - | 2 days ago 0.18.4 | ESM + CommonJS | Bundled | WebSockets and realtime |
| @colyseus/monitor Web Monitoring Panel for Colyseus | 17.7k | - | - | - | today 0.18.6 | ESM + CommonJS | Bundled | WebSockets and realtime, Monitoring and error tracking |
| ngx-sse-client A simple SSE (Server Sent Events) client for Angular applications. | 16.8k | +49% | - | 5 months ago 21.0.0 | ESM + CommonJS | Bundled | Angular, WebSockets and realtime | |
| sse-decoder Server-Sent Events implementation in Typescript. Used by the Gin Framework. | 16.7k | +974% | - | 2 years ago 1.0.0 | ESM + CommonJS | Bundled | WebSockets and realtime | |
| @sanity/portable-text-editor Portable Text Editor made in React | 16.6k | - | - | - | 2 years ago 3.48.1 | ESM + CommonJS | Bundled | WebSockets and realtime, React |
| koa-websocket Light wrapper around Koa providing a websocket middleware handler that is koa-route compatible. | 15.9k | +44% | - | 4 years ago 7.0.0 | CommonJS | None | WebSockets and realtime | |
| crisp-api Crisp API wrapper for Node - official, maintained by Crisp | 15.5k | +175% | - | 11 days ago 11.3.0 | ESM + CommonJS | Bundled | WebSockets and realtime | |
| webstomp-client Stomp client over websocket for browsers and nodejs | 15.4k | -16% | - | 7 years ago 1.2.6 | CommonJS | Bundled | WebSockets and realtime | |
| websocket13 Simple WebSocket protocol 13 client with no native or heavy dependencies | 15.1k | -38% | - | 10 months ago 4.1.0 | CommonJS | None | WebSockets and realtime | |
| @socket.io/cluster-adapter The Socket.IO cluster adapter, allowing to broadcast events between several Socket.IO servers | 14.9k | - | - | - | 11 months ago 0.3.0 | CommonJS | Bundled | WebSockets and realtime |
| @soniox/client Official Soniox SDK for client-side applications | 14.6k | - | - | - | 1 month ago 2.3.0 | ESM + CommonJS | Bundled | WebSockets and realtime |
| @xmpp/websocket XMPP websocket for JavaScript | 14.6k | - | - | - | 10 months ago 0.14.0 | ESM only | None | WebSockets and realtime |
| agent-relay Real-time agent-to-agent communication system | 14.5k | - | - | 3 days ago 12.4.1 | ESM + CommonJS | Bundled | WebSockets 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.
- detectrtcA tiny JavaScript library that can be used to detect WebRTC features e.g. system having speakers, microphone or webcam, screen capturing is supported, number of audio/video devices etc.
- ccxt-irA JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges
- sailsAPI-driven framework for building realtime apps, using MVC conventions (based on Express and Socket.io)
- @uppy/companionOAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:
- parse-sseParse Server-Sent Events (SSE) from a Response
- @moq/qmuxQMux protocol (draft-ietf-quic-qmux-02) over WebSockets
- tiktok-live-api-sdkTikTok LIVE API SDK for Node.js & TypeScript. Real-time TikTok LIVE chat, gifts, likes, follows, viewer counts and PK battles via the EulerStream managed TikTok LIVE API, with typed clients for webcast signing, rooms, gifts, rankings, LIVE alerts, moderat
- event-source-plusA better EventSource API
- async-mqttPromise wrapper over MQTT.js
- next-http-proxy-middlewareNextjs HTTP Proxy Middleware
- @socket.io/postgres-adapterThe Socket.IO Postgres adapter, allowing to broadcast events between several Socket.IO servers
- @wecom/aibot-node-sdk企业微信智能机器人 Node.js SDK - WebSocket 长连接通道
- permessage-deflatePer-message DEFLATE compression extension for WebSocket connections
- @liveblocks/node-prosemirrorA server-side utility that lets you modify prosemirror and tiptap documents hosted in Liveblocks.
- machine-as-actionRun a machine from an HTTP or WebSocket request.
- it-wsSimple async iterables for websocket client connections
- @moq/web-socket-streamA WebSocketStream polyfill: a plain WebSocket wrapped as { readable, writable } streams with backpressure
- pubnub-reactPublish & Subscribe Real-time Messaging with PubNub
- websocket-tsA WebSocket client library with optional reconnecting and buffering capabilities.
- colyseus.jsColyseus Multiplayer SDK for JavaScript/TypeScript
- superwstestsupertest with added WebSocket capabilities
- colyseusMultiplayer Framework for Node.js
- @100mslive/hms-video-store@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow
- @speclynx/apidom-ns-asyncapi-2AsyncAPI 2.x.y namespace for ApiDOM.
- @liveblocks/emailsA set of functions and utilities to make sending emails based on Liveblocks notification events easy. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.
- bnc-sdkSDK to connect to the blocknative backend via a websocket connection
- obs-websocket-jsOBS Websocket API in Javascript, consumes @Palakis/obs-websocket
- socketcluster-serverServer module for SocketCluster
- socket.io-mocka mocked version of a socket.io socket for testing
- markstream-vueVue/Nuxt streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, long documents, Mermaid, KaTeX, and stream-diffs powered code blocks.
- playwright-ws-traceAdds WebSocket frame tracing to Playwright trace viewer
- webtorrentStreaming torrent client
- http-mitm-proxyHTTP Man In The Middle (MITM) Proxy
- ts-bus<p align="center"> <img src="logo.png" width="100" height="100"/> </p>
- @stream-io/filterEmulate Stream API backend filters for client-side use (e.g. filtering WS events)
- websocket-as-promisedA WebSocket client library providing Promise-based API for connecting, disconnecting and messaging with server
- tgridGrid Computing Framework for TypeScript
- @colyseus/uwebsockets-transport<div align="center"> <a href="https://github.com/colyseus/colyseus"> <img src="media/logo.svg?raw=true" width="60%" height="300" /> </a> <br> <br> <a href="https://npmjs.com/package/colyseus"> <img src="https://img.shields.io/npm/dm/coly
- @colyseus/monitorWeb Monitoring Panel for Colyseus
- ngx-sse-clientA simple SSE (Server Sent Events) client for Angular applications.
- sse-decoderServer-Sent Events implementation in Typescript. Used by the Gin Framework.
- @sanity/portable-text-editorPortable Text Editor made in React
- koa-websocketLight wrapper around Koa providing a websocket middleware handler that is koa-route compatible.
- crisp-apiCrisp API wrapper for Node - official, maintained by Crisp
- webstomp-clientStomp client over websocket for browsers and nodejs
- websocket13Simple WebSocket protocol 13 client with no native or heavy dependencies
- @socket.io/cluster-adapterThe Socket.IO cluster adapter, allowing to broadcast events between several Socket.IO servers
- @soniox/clientOfficial Soniox SDK for client-side applications
- @xmpp/websocketXMPP websocket for JavaScript
- agent-relayReal-time agent-to-agent communication system