Package
sockjs-client
SockJS-client is a browser JavaScript library that provides a WebSocket-like object.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.2m
- -6% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 5
- Direct, from package.json
- Last release
- 4 years ago
- v1.6.1
- GitHub stars
- 8.5k
- 1.3k forks
- Open issues / PRs
- 22 / 11
- Contributors
- -
- Commits, last 52 weeks
- 22
Downloads
Last week 2026-09-15 to 2026-09-21
4,230,923 downloads last week, 11,981,235 in the last month. The 12-month change of -6% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 021 in total
- Latest version
- 1.6.1, 28 May 20224 years ago
- First published
- 23 Mar 2012
- Last push to GitHub
- 24 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 22
- Open pull requests
- 11
- Commits, last 52 weeks
- 22
- Dependents on npm
- 958
Major versions
- v1 first release 1.0.0, 14 May 2015
- v0 first release 0.1.0, 23 Mar 2012
Recent releases
| Version | Published |
|---|---|
| 1.6.1 | 28 May 2022 |
| 1.6.0 | 27 Feb 2022 |
| 1.5.2 | 24 Aug 2021 |
| 1.5.1 | 25 Mar 2021 |
| 1.5.0 | 2 Aug 2020 |
| 1.4.0 | 22 Aug 2019 |
| 1.3.0 | 24 Sept 2018 |
| 1.2.0 | 21 Sept 2018 |
| 1.1.5 | 29 May 2018 |
| 1.1.4 | 30 Apr 2017 |
| 1.1.2 | 23 Jan 2017 |
| 1.1.1 | 20 May 2016 |
| 1.1.0 | 30 Apr 2016 |
| 1.0.3 | 31 Jul 2015 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=12
- Runtimes
- -
- Unpacked size (npm)
- 684 kB
- Dependencies (5)
debuginheritsurl-parseeventsourcefaye-websocket
npm install sockjs-clientCDN
jsDelivr: 31.2m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/sockjs-client@1.6.1/ - unpkg
https://unpkg.com/sockjs-client@1.6.1/ - esm.sh
https://esm.sh/sockjs-client@1.6.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| ws | 201.6m | - | 1 month ago | ESM + CommonJS | ws vs sockjs-client |
| centrifuge | 798.4k | - | 15 days ago | ESM + CommonJS | - |
| primus | 65.6k | - | 2 years ago | CommonJS | - |
| websocket-driver | 25.4m | - | 3 months ago | CommonJS | - |
| websocket-extensions | 24.1m | - | 6 years ago | CommonJS | - |
| react-use-websocket | 369.9k | - | 1 year ago | CommonJS | - |
Indexability: Indexed.