Skip to content
JS
Package

simple-websocket

Simple, EventEmitter API for WebSockets (browser)

v9.1.0, 6 Jan 2021MITCommonJSTypes: NoneWebSockets and realtime
$ npm install simple-websocket

Key numbers

As of 25 Sept 2026
Weekly downloads
696.2k
+30% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
5 years ago
v9.1.0
GitHub stars
186
31 forks
Open issues / PRs
2 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (9 Jun 2026)Low 356.8k (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.

696,219 downloads last week, 3,826,883 in the last month. The 12-month change of +30% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
052 in total
Latest version
9.1.0, 6 Jan 20215 years ago
First published
10 Aug 2014
Last push to GitHub
30 Jan 20231,333 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
41

Major versions

  1. v9 first release 9.0.0, 17 May 2020
  2. v8 first release 8.0.0, 2 Aug 2019
  3. v7 first release 7.0.0, 17 Feb 2018
  4. v6 first release 6.0.0, 29 Jan 2018
  5. v5 first release 5.0.0, 16 Feb 2017
  6. v4 first release 4.0.0, 16 Feb 2016
  7. v3 first release 3.0.0, 8 Feb 2016
  8. v2 first release 2.0.0, 10 Apr 2015
  9. v1 first release 1.0.0, 10 Aug 2014

Recent releases

VersionPublished
9.1.06 Jan 2021
9.0.017 May 2020
8.1.113 Nov 2019
8.1.06 Nov 2019
8.0.118 Aug 2019
8.0.02 Aug 2019
7.2.027 Jul 2018
7.0.23 Mar 2018
7.0.117 Feb 2018
7.0.017 Feb 2018
6.0.029 Jan 2018
5.1.123 Jan 2018
5.1.09 Nov 2017
5.0.27 Apr 2017
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
98 kB
Dependencies (5)
wsdebugrandombytesqueue-microtaskreadable-stream
npm install simple-websocket
  • jsDelivrhttps://cdn.jsdelivr.net/npm/simple-websocket@9.1.0/
  • unpkghttps://unpkg.com/simple-websocket@9.1.0/
  • esm.shhttps://esm.sh/simple-websocket@9.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@thaunknown/simple-websocket13.7k-2 months agoESM only-
isomorphic-ws14.4m-4 years agoCommonJS-
websocket-as-promised18.3k-1 year agoCommonJS-
socket.io13.7m-9 months agoESM + CommonJS-
sockjs13.9m-4 years agoCommonJS-
@xmpp/websocket14.6k-10 months agoESM only-
@nktkas/rews110.6k-24 days agoESM only-
socketcluster-server21.1k-1 month agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.