FindSoftware

ws

WebSocket client and server library for Node.js.

ws is a WebSocket client and server library for Node.js. It implements the protocol on both sides and supports the permessage-deflate compression extension.

Worth knowing

The README states that the module does not work in the browser. Browser code uses the native WebSocket object, and the README names isomorphic-ws, an npm wrapper, for code that has to run in both places. Compression is disabled by default on the server, and the README notes that it adds overhead.

Identity

Status
Active
Maintainer
Einar Otto Stangvik3
Maintained by
Individual3
First release
20114

Rendering and deploy

Install with
npm2

Releases

Current major version
86
Last release
2026-11-126

Adoption

GitHub stars
22,8301
npm downloads a week
400,586,7337
Contributors
1948
Dependent repositories
900,1169
Dependent packages
19,4759

Why these figures do not compare

Sources

  1. 2026-11-17: links, Written in, License, GitHub stars
    api.github.com/repos/websockets/ws
  2. 2026-11-17: links, Categories, Runtime, Install with
    github.com/websockets/ws/blob/master/README.md
  3. 2026-11-17: Maintainer, Maintained by
    raw.githubusercontent.com/websockets/ws/master/LICENSE
  4. 2026-11-17: First release
    registry.npmjs.org/ws
  5. 2026-11-17: Minimum runtime
    github.com/websockets/ws/blob/8.23.0/package.json
  6. 2026-11-17: Current major version, Last release
    api.github.com/repos/websockets/ws/releases/latest
  7. 2026-11-17: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/ws
  8. 2026-11-17: Contributors
    api.github.com/repos/websockets/ws/contributors?per_page=1
  9. 2026-11-17: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ws

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON