Skip to content
JS
Package

mqtt-packet

Parse and generate MQTT packets like a breeze

v9.0.2, 4 Mar 2025MITCommonJSTypes: BundledWebSockets and realtime
$ npm install mqtt-packet

Key numbers

As of 25 Sept 2026
Weekly downloads
1.8m
+49% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 year ago
v9.0.2
GitHub stars
216
97 forks
Open issues / PRs
19 / 4
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.6m (21 Jul 2026)Low 809.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.

1,788,550 downloads last week, 8,570,635 in the last month. The 12-month change of +49% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
074 in total
Latest version
9.0.2, 4 Mar 20251 year ago
First published
31 Oct 2014
Last push to GitHub
15 Sept 20269 days before the snapshot
Repository archived
No
Open issues
19
Open pull requests
4
Commits, last 52 weeks
2
Dependents on npm
102

Major versions

  1. v9 first release 9.0.0, 8 Nov 2023
  2. v8 first release 8.0.0, 21 Feb 2022
  3. v7 first release 7.0.0, 7 Jun 2021
  4. v6 first release 6.0.0, 3 Jun 2018
  5. v5 first release 5.0.0, 7 Sept 2016
  6. v4 first release 4.0.0, 21 Oct 2015
  7. v3 first release 3.0.0, 9 Jan 2015
  8. v2 first release 2.0.0, 17 Dec 2014
  9. v1 first release 1.0.0, 31 Oct 2014

Recent releases

VersionPublished
9.0.24 Mar 2025
9.0.112 Nov 2024
9.0.08 Nov 2023
8.2.14 Oct 2023
8.2.07 Jul 2023
8.1.210 Aug 2022
8.1.121 Jul 2022
8.1.018 Jul 2022
8.0.021 Feb 2022
7.1.23 Feb 2022
7.1.121 Sept 2021
7.1.07 Sept 2021
7.0.07 Jun 2021
6.10.014 May 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
170 kB
Dependencies (3)
bldebugprocess-nextick-args
npm install mqtt-packet
  • jsDelivrhttps://cdn.jsdelivr.net/npm/mqtt-packet@9.0.2/
  • unpkghttps://unpkg.com/mqtt-packet@9.0.2/
  • esm.shhttps://esm.sh/mqtt-packet@9.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.