# ws

WebSocket client and server library for Node.js.


Source: https://findsoftware.frbit.cloud/ws/
Last reviewed: 2026-11-17
Listed since: 2026-11-17

## Record

### Links

- repository: https://github.com/websockets/ws
- docs: https://github.com/websockets/ws/blob/master/doc/ws.md

### Identity

- status: active
- maintainer: Einar Otto Stangvik
- maintainerType: individual
- parent: unknown
- firstRelease: 2011
- hqCountry: unknown

### Kind

- category: backend
- hosting: node
- language: javascript
- runtime: node
- runtimeMin: node 10
- basedOn: unknown

### Content

- contentStore: unknown
- databases: unknown
- adminUi: unknown
- headlessApi: unknown
- templating: unknown
- i18n: unknown

### Rendering and deploy

- runsAs: unknown
- renderingModes: unknown
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 8
- latestReleaseDate: 2026-11-12

### Adoption

- githubStargazers: 22830
- packagistDownloads: not applicable
- npmWeeklyDownloads: 400586733
- contributors: 194
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 900116
- dependentPackages: 19475

### Sources

- urls: https://api.github.com/repos/websockets/ws (read 2026-11-17)
- urls: https://github.com/websockets/ws/blob/master/README.md (read 2026-11-17)
- maintainer: https://raw.githubusercontent.com/websockets/ws/master/LICENSE (read 2026-11-17)
- maintainerType: https://raw.githubusercontent.com/websockets/ws/master/LICENSE (read 2026-11-17)
- firstRelease: https://registry.npmjs.org/ws (read 2026-11-17)
- category: https://github.com/websockets/ws/blob/master/README.md (read 2026-11-17)
- language: https://api.github.com/repos/websockets/ws (read 2026-11-17)
- runtime: https://github.com/websockets/ws/blob/master/README.md (read 2026-11-17)
- runtimeMin: https://github.com/websockets/ws/blob/8.23.0/package.json (read 2026-11-17)
- license: https://api.github.com/repos/websockets/ws (read 2026-11-17)
- installMethod: https://github.com/websockets/ws/blob/master/README.md (read 2026-11-17)
- currentMajor: https://api.github.com/repos/websockets/ws/releases/latest (read 2026-11-17)
- latestReleaseDate: https://api.github.com/repos/websockets/ws/releases/latest (read 2026-11-17)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/ws (read 2026-11-17)
- githubStargazers: https://api.github.com/repos/websockets/ws (read 2026-11-17)
- contributors: https://api.github.com/repos/websockets/ws/contributors?per_page=1 (read 2026-11-17)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ws (read 2026-11-17)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/ws (read 2026-11-17)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
