Skip to content
JS
Package

nano-pubsub

Zero dependency, tiny (<0.5 kb) publish/subscribe

v3.0.0, 5 Apr 2024MITESM + CommonJSTypes: BundledWebSockets and realtime
$ npm install nano-pubsub

Key numbers

As of 25 Sept 2026
Weekly downloads
672k
+206% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v3.0.0
GitHub stars
16
3 forks
Open issues / PRs
0 / 4
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 916k (25 Aug 2026)Low 133.8k (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.

672,000 downloads last week. The 12-month change of +206% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
3.0.0, 5 Apr 20242 years ago
First published
23 Sept 2016
Last push to GitHub
5 Apr 2024902 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 5 Apr 2024
  2. v2 first release 2.0.0, 21 Sept 2020
  3. v1 first release 1.0.0, 23 Sept 2016

Recent releases

VersionPublished
3.0.05 Apr 2024
2.0.126 Oct 2021
2.0.021 Sept 2020
1.0.29 May 2017
1.0.123 Sept 2016
1.0.023 Sept 2016
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
6.8 kB
Dependencies (0)
None
npm install nano-pubsub
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nano-pubsub@3.0.0/
  • unpkghttps://unpkg.com/nano-pubsub@3.0.0/
  • esm.shhttps://esm.sh/nano-pubsub@3.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
pubsub-js235.4k--CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.