Skip to content
JS
Package

websocket-as-promised

A WebSocket client library providing Promise-based API for connecting, disconnecting and messaging with server

v3.0.1, 22 Apr 2025MITCommonJSTypes: BundledWebSockets and realtimePromises and async control flow
$ npm install websocket-as-promised

Key numbers

As of 25 Sept 2026
Weekly downloads
18.3k
+187% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 year ago
v3.0.1
GitHub stars
601
40 forks
Open issues / PRs
5 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 32.2k (28 Jul 2026)Low 3.3k (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.

18,292 downloads last week, 95,447 in the last month. The 12-month change of +187% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.0.1, 22 Apr 20251 year ago
First published
-
Last push to GitHub
22 Apr 2025520 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
82

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
37 kB
Dependencies (3)
chnlpromised-mappromise-controller
npm install websocket-as-promised
  • jsDelivrhttps://cdn.jsdelivr.net/npm/websocket-as-promised@3.0.1/
  • unpkghttps://unpkg.com/websocket-as-promised@3.0.1/
  • esm.shhttps://esm.sh/websocket-as-promised@3.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
sockjs13.9m-4 years agoCommonJS-
ws201.6m-1 month agoESM + CommonJS-
sockjs-client4.2m-4 years agoCommonJS-
obs-websocket-js21.9k-6 months agoESM + CommonJS-
socket.io-client11.1m-9 months agoESM + CommonJS-
primus65.6k-2 years agoCommonJS-
isomorphic-ws14.4m-4 years agoCommonJS-
socket.io13.7m-9 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.