Skip to content
JS
Package

sockjs

SockJS-node is a server counterpart of SockJS-client a JavaScript library that provides a WebSocket-like object in the browser. SockJS gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication

v0.3.24, 3 Dec 2021MITCommonJSTypes: NoneWebSockets and realtime
$ npm install sockjs

Key numbers

As of 25 Sept 2026
Weekly downloads
13.9m
+6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 years ago
v0.3.24
GitHub stars
2.1k
306 forks
Open issues / PRs
16 / 2
Contributors
-
Commits, last 52 weeks
10

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 16.7m (16 Jun 2026)Low 6.2m (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.

13,850,657 downloads last week, 56,575,363 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
034 in total
Latest version
0.3.24, 3 Dec 20214 years ago
First published
11 Aug 2011
Last push to GitHub
6 Sept 202618 days before the snapshot
Repository archived
No
Open issues
16
Open pull requests
2
Commits, last 52 weeks
10
Dependents on npm
777

Major versions

  1. v0 first release 0.0.1, 17 Aug 2011

Recent releases

VersionPublished
0.3.243 Dec 2021
0.3.233 Dec 2021
0.3.223 Dec 2021
0.3.2131 Jul 2020
0.3.209 Mar 2020
0.3.1912 Oct 2017
0.3.1826 Sept 2016
0.3.1729 Apr 2016
0.3.1623 Mar 2016
0.3.1511 Mar 2015
0.3.145 Mar 2015
0.3.1326 Feb 2015
0.3.126 Jan 2015
0.3.1110 Nov 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
81 kB
Dependencies (3)
uuidfaye-websocketwebsocket-driver
npm install sockjs
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sockjs@0.3.24/
  • unpkghttps://unpkg.com/sockjs@0.3.24/
  • esm.shhttps://esm.sh/sockjs@0.3.24
PackageWeekly downloadsGzipLast releaseModuleComparison
ws201.6m-1 month agoESM + CommonJSws vs sockjs
socket.io-client11.1m-9 months agoESM + CommonJS-
socket.io13.7m-9 months agoESM + CommonJS-
centrifuge798.4k-15 days agoESM + CommonJS-
isomorphic-ws14.4m-4 years agoCommonJS-
simple-websocket696.2k-5 years agoCommonJS-
websocket-extensions24.1m-6 years agoCommonJS-
socket.io-parser20.1m-2 months agoESM + CommonJS-

Related

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

Indexability: Indexed.