Skip to content
JS
Package

centrifuge

JavaScript client SDK for bidirectional communication with Centrifugo and Centrifuge-based server from browser, NodeJS and React Native

v5.7.4, 9 Sept 2026MITESM + CommonJSTypes: BundledWebSockets and realtime
$ npm install centrifuge

Key numbers

As of 25 Sept 2026
Weekly downloads
798.4k
+346% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
15 days ago
v5.7.4
GitHub stars
506
118 forks
Open issues / PRs
10 / 3
Contributors
-
Commits, last 52 weeks
144

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 948.6k (8 Sept 2026)Low 85.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.

798,431 downloads last week, 2,904,033 in the last month. The 12-month change of +346% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1096 in total
Latest version
5.7.4, 9 Sept 202615 days ago
First published
22 Jan 2015
Last push to GitHub
18 Sept 20266 days before the snapshot
Repository archived
No
Open issues
10
Open pull requests
3
Commits, last 52 weeks
144
Dependents on npm
127

Major versions

  1. v5 first release 5.0.0, 12 Sept 2023
  2. v4 first release 4.0.0, 29 Jun 2023
  3. v3 first release 3.0.0, 20 Jul 2022
  4. v2 first release 2.0.0, 18 Sept 2018
  5. v1 first release 1.0.0, 25 Oct 2015
  6. v0 first release 0.5.2, 22 Jan 2015

Recent releases

VersionPublished
5.7.49 Sept 2026
5.7.32 Sept 2026
5.7.226 Aug 2026
5.7.114 Aug 2026
5.7.015 Jun 2026
5.6.021 May 2026
5.5.314 Dec 2025
5.5.217 Oct 2025
5.5.116 Oct 2025
5.5.014 Oct 2025
5.4.021 Jul 2025
5.3.511 May 2025
5.3.425 Feb 2025
5.3.325 Feb 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
3.8 MB
Dependencies (2)
eventsprotobufjs
npm install centrifuge

CDN

jsDelivr: 21m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/centrifuge@5.7.4/
  • unpkghttps://unpkg.com/centrifuge@5.7.4/
  • esm.shhttps://esm.sh/centrifuge@5.7.4
PackageWeekly downloadsGzipLast releaseModuleComparison
ws201.6m-1 month agoESM + CommonJS-
primus65.6k-2 years agoCommonJS-
sockjs13.9m-4 years agoCommonJS-
sockjs-client4.2m-4 years agoCommonJS-
jsonbird8.1k-8 years agoCommonJS-
socketcluster11.1k-1 month ago--
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.