Skip to content
React Libraries
On this page

ws

A WebSocket client and server library for Node.js.

What it does

A WebSocket client and server library for Node.js.

When it fits

Adding bidirectional realtime communication to a server application.

Other options in this category

  • AdonisJS — Building a backend with established conventions and integrated tooling.
  • Crawlee — Collecting webpage data with request management and browser integration.
  • H3 — Writing composable request handlers across supported JavaScript runtimes.
  • Hono — Implementing compact APIs with web-standard request and response objects.
  • Shovel — Writing portable request handlers for Node.js, Bun, and Cloudflare Workers.

Source

Project source for ws ↗

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

Build an HTTP or realtime service →

All servers & realtime options →