WebSockets & Realtime Packages
Realtime communication libraries for WebSockets, pub/sub channels, and live data sync — the building blocks behind chat, presence, and collaborative UIs.
Packages in WebSockets & Realtime
Kind
Sort:Used by Most Apps
ws
A simple, blazing-fast, thoroughly tested WebSocket client and server library for Node.js.
undici
A fast, spec-compliant HTTP/1.1 client for Node.js, built from scratch with zero runtime dependencies
Socket.IO
Bidirectional, low-latency, event-based realtime communication for Node.js and the browser.
@hono/node-server
The official Node.js adapter that runs your Hono application on a native Node HTTP server using web-standard APIs.
http-proxy-middleware
The one-liner Node.js proxy middleware for connect, express, next.js, hono, and more.
oRPC Client
Type-safe client for consuming oRPC and OpenAPI APIs over HTTP, WebSocket, or message ports.
chrome-remote-interface
A Node.js client for the Chrome DevTools Protocol, exposing every browser command, event, and type as a plain JavaScript API.
GramJS
Full-featured MTProto client for building Telegram user bots and apps in Node.js and browsers
Baileys
A TypeScript library that talks to WhatsApp Web directly over WebSockets, no browser or Selenium required.
isomorphic-ws
A drop-in isomorphic WebSocket client that exposes one identical API in Node.js and browsers.
node-sdks
The official Node.js realtime SDK for LiveKit, giving server-side apps a typed client for audio, video, data streams, and RPC over WebRTC.