wsv8.21.3, 7 Aug 2026
Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
$ npm install wssockjs-clientv1.6.1, 28 May 2022
SockJS-client is a browser JavaScript library that provides a WebSocket-like object.
$ npm install sockjs-client| Metric | ws | sockjs-client | Difference |
|---|---|---|---|
| Weekly downloads | 201,592,878 | 4,230,923 | ws 47.6x higher |
| 12-month download growth | +104% | -6% | ws +110 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 5 | sockjs-client 5 more |
| Unpacked size | 147 kB | 684 kB | ws 4.6x smaller |
| Latest release | 8.21.3, 7 Aug 2026 | 1.6.1, 28 May 2022 | ws 4.2 years more recent |
| Releases, last 12 months | 16 | 0 | ws 16 more |
| First published | 4 Dec 2011 | 23 Mar 2012 | ws 4 months earlier |
| GitHub stars | 22,806 | 8,502 | ws 2.7x higher |
| Open issues | 5 | 22 | sockjs-client 17 more |
| Open pull requests | 0 | 11 | sockjs-client 11 more |
| Contributors | 213 | - | - |
| Commits, last 52 weeks | 38 | 22 | ws 1.7x higher |
| TypeScript types | None | None | Same |
| Module format | ESM + CommonJS | CommonJS | Differs |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
ws201.6m latest weeksockjs-client4.2m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
ws
Major versions
- 0.2.64 Dec 2011
- 1.0.030 Dec 2015
- 2.0.030 Jan 2017
- 3.0.017 May 2017
- 4.0.05 Jan 2018
- 5.0.06 Mar 2018
- 6.0.021 Jul 2018
- 7.0.030 Apr 2019
- 8.0.028 Jul 2021
Last 5 releases
- 8.21.37 Aug 2026
- 8.21.23 Aug 2026
- 7.5.1317 Jul 2026
- 6.2.617 Jul 2026
- 5.2.717 Jul 2026
181 releases in total, 16 in the last 12 months
sockjs-client
Major versions
- 0.1.023 Mar 2012
- 1.0.014 May 2015
Last 5 releases
- 1.6.128 May 2022
- 1.6.027 Feb 2022
- 1.5.224 Aug 2021
- 1.5.125 Mar 2021
- 1.5.02 Aug 2020
21 releases in total, 0 in the last 12 months
ws
-
sockjs-client
-
ws
-
sockjs-client
-
- Need no runtime dependenciesws (ws has 0, sockjs-client has 5)
- Need both ESM and CommonJS entry pointsws (ws: ESM + CommonJS; sockjs-client: CommonJS)
- Need to load it with require()Both
- Need TypeScript types in the package itselfNeither (ws: None; sockjs-client: None)
- Node.js version requirementws: >=10.0.0; sockjs-client: >=12 (engines field in package.json)
- Need the more recent releasews (8.21.3 on 7 Aug 2026 vs 1.6.1 on 28 May 2022)
- Higher weekly npm downloadsws (201.6m vs 4.2m)
Each line is generated from the data above.
- ws vs sockjs0 searches/mo
sockjs-client: sockjs-client npm registry, sockjs-client npm downloads, sockjs-client GitHub, sockjs-client jsDelivr. Data fetched 25 Sept 2026.
Keyword demand: DataForSEO Google Ads search volume, US, English
Indexability: Indexed: 0 US searches/month across both orderings ("ws vs sockjs-client", "sockjs-client vs ws").