ws@8.21.1
// Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
$ npm install ws
downloads/wk
216,214,146
license
MIT
version
8.21.1
published
Jul 14, 2026
What is ws?
ws is a WebSocket implementation for Node.js that provides both client and server functionality for building real-time communication features. Developers use it to establish persistent, bidirectional connections between browsers and servers, enabling efficient data streaming and live updates without the overhead of repeated HTTP requests. It implements the WebSocket standard (RFC 6455) and is known for its performance and reliability in production environments.
Links
Keywords
Maintainers
einaros, v1, lpinca, 3rdeden