Skip to content
JS
Package

pubnub

PubNub SDK for JavaScript. Publish/subscribe messaging over HTTP long-poll with server-assigned message ordering, channel occupancy via Here Now, and message history through Message Persistence.

v13.0.3SEE LICENSE IN LICENSECommonJSTypes: BundledWebSockets and realtime
$ npm install pubnub

Key numbers

As of 25 Sept 2026
Weekly downloads
174.7k
+31% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
8
Direct, from package.json
Last release
-
v13.0.3
GitHub stars
562
400 forks
Open issues / PRs
4 / 1
Contributors
-
Commits, last 52 weeks
27

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300k400kSept 2025Mar 2026Sept 2026High 363.9k (28 Jul 2026)Low 86.2k (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.

174,699 downloads last week. The 12-month change of +31% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
13.0.3
First published
-
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
4
Open pull requests
1
Commits, last 52 weeks
27
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.0.0
Runtimes
-
Unpacked size (npm)
4.7 MB
Dependencies (8)
bufferfflateundicicbor-jslil-uuidcbor-syncagentkeepalivefast-text-encoding
Peer dependencies (1)
react-native-url-polyfill
npm install pubnub
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pubnub@13.0.3/
  • unpkghttps://unpkg.com/pubnub@13.0.3/
  • esm.shhttps://esm.sh/pubnub@13.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.