Skip to content
JS
Package

websocket

Websocket Client & Server Library implementing the WebSocket protocol as specified in RFC 6455.

v1.0.35, 12 May 2024Apache-2.0CommonJSTypes: NoneWebSockets and realtime
$ npm install websocket

Key numbers

As of 25 Sept 2026
Weekly downloads
1m
+12% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
2 years ago
v1.0.35
GitHub stars
3.8k
596 forks
Open issues / PRs
62 / 12
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.6m (16 Jun 2026)Low 520.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,029,325 downloads last week, 4,901,328 in the last month. The 12-month change of +12% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
056 in total
Latest version
1.0.35, 12 May 20242 years ago
First published
5 Jul 2011
Last push to GitHub
6 Oct 2025353 days before the snapshot
Repository archived
No
Open issues
62
Open pull requests
12
Commits, last 52 weeks
0
Dependents on npm
1,950

Major versions

  1. v1 first release 1.0.0, 26 Oct 2011
  2. v0 first release 0.0.1, 5 Jul 2011

Recent releases

VersionPublished
1.0.3512 May 2024
1.0.3414 Apr 2021
1.0.339 Dec 2020
1.0.3228 Aug 2020
1.0.316 Dec 2019
1.0.3012 Sept 2019
1.0.293 Jul 2019
1.0.2820 Sept 2018
1.0.2720 Sept 2018
1.0.2626 Apr 2018
1.0.2519 Oct 2017
1.0.2429 Dec 2016
1.0.2319 May 2016
1.0.2229 Sept 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4.0.0
Runtimes
-
Unpacked size (npm)
151 kB
Dependencies (6)
debugyaeties5-extbufferutilutf-8-validatetypedarray-to-buffer
npm install websocket
  • jsDelivrhttps://cdn.jsdelivr.net/npm/websocket@1.0.35/
  • unpkghttps://unpkg.com/websocket@1.0.35/
  • esm.shhttps://esm.sh/websocket@1.0.35
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.