Skip to content
JS
Package

sockjs-client

SockJS-client is a browser JavaScript library that provides a WebSocket-like object.

v1.6.1, 28 May 2022MITCommonJSTypes: NoneWebSockets and realtime
$ npm install sockjs-client

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
02m4m6mSept 2025Mar 2026Sept 2026High 4.4m (25 Nov 2025)Low 1.5m (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.

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

  1. v1 first release 1.0.0, 14 May 2015
  2. v0 first release 0.1.0, 23 Mar 2012

Recent releases

VersionPublished
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
1.4.022 Aug 2019
1.3.024 Sept 2018
1.2.021 Sept 2018
1.1.529 May 2018
1.1.430 Apr 2017
1.1.223 Jan 2017
1.1.120 May 2016
1.1.030 Apr 2016
1.0.331 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-client

CDN

jsDelivr: 31.2m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sockjs-client@1.6.1/
  • unpkghttps://unpkg.com/sockjs-client@1.6.1/
  • esm.shhttps://esm.sh/sockjs-client@1.6.1
PackageWeekly downloadsGzipLast releaseModuleComparison
ws201.6m-1 month agoESM + CommonJSws vs sockjs-client
centrifuge798.4k-15 days agoESM + CommonJS-
primus65.6k-2 years agoCommonJS-
websocket-driver25.4m-3 months agoCommonJS-
websocket-extensions24.1m-6 years agoCommonJS-
react-use-websocket369.9k-1 year agoCommonJS-

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.