Skip to content
JS
Package

primus

Primus is a simple abstraction around real-time frameworks. It allows you to easily switch between different frameworks without any code changes.

v8.0.9, 6 Nov 2023MITCommonJSTypes: NoneWebSockets and realtime
$ npm install primus

Key numbers

As of 25 Sept 2026
Weekly downloads
65.6k
+441% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
10
Direct, from package.json
Last release
2 years ago
v8.0.9
GitHub stars
4.5k
270 forks
Open issues / PRs
50 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 143.5k (18 Aug 2026)Low 6.6k (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.

65,626 downloads last week, 316,654 in the last month. The 12-month change of +441% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
8.0.9, 6 Nov 20232 years ago
First published
-
Last push to GitHub
6 Nov 20231,053 days before the snapshot
Repository archived
No
Open issues
50
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
137

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
496 kB
Dependencies (10)
fusingnanoidultronasyncemitsetheaderdiagnosticscreate-servereventemitter3forwarded-foraccess-control
npm install primus
  • jsDelivrhttps://cdn.jsdelivr.net/npm/primus@8.0.9/
  • unpkghttps://unpkg.com/primus@8.0.9/
  • esm.shhttps://esm.sh/primus@8.0.9
PackageWeekly downloadsGzipLast releaseModuleComparison
socket.io13.7m-9 months agoESM + CommonJS-
centrifuge798.4k-15 days agoESM + CommonJS-
ws201.6m-1 month agoESM + CommonJS-
socket.io-client11.1m-9 months agoESM + CommonJS-
websocket-as-promised18.3k-1 year agoCommonJS-
sockjs13.9m-4 years agoCommonJS-
sockjs-client4.2m-4 years agoCommonJS-
@feathersjs/feathers118.3k-13 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.