mqtt
A library for the MQTT protocol
mqtt@5.16.1 was published on 2026-10-14. Its manifest declares 15 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=16.0.0.
All mqtt versions · Permanent reference to 5.16.1
Package specifications
| Version | 5.16.1 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-14T13:26:39.089Z |
| Node.js requirement | >=16.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 15 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1811.29 KiB |
| Published file count | 107 |
| Package type | Not declared |
| ES module entry | ./dist/mqtt.esm.js |
| Default entry | ./build/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 43 |
| Repository stars | 9126 |
| Repository forks | 1456 |
Install mqtt 5.16.1
npm install mqtt@5.16.1 pnpm add mqtt@5.16.1 yarn add mqtt@5.16.1
Runtime dependencies
- ws ^8.18.3
- rfdc ^1.4.1
- debug ^4.4.1
- socks ^2.8.6
- split2 ^4.2.0
- commist ^3.2.0
- help-me ^5.0.0
- minimist ^1.2.8
- @types/ws ^8.18.1
- lru-cache ^10.4.3
- mqtt-packet ^9.0.2
- concat-stream ^2.0.0
- worker-timers ^8.0.23
- readable-stream ^4.7.0
- @types/readable-stream ^4.0.21
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/runtime@7.29.10 — indirect
- @types/node@26.6.5 — indirect
- @types/readable-stream@4.0.25 — direct
- @types/ws@8.18.2 — direct
- abort-controller@3.0.0 — indirect
- base64-js@1.5.1 — indirect
- bl@6.1.6 — indirect
- broker-factory@3.1.15 — indirect
- buffer@6.0.3 — indirect
- buffer-from@1.1.2 — indirect
- commist@3.2.0 — direct
- concat-stream@2.0.0 — direct
- debug@4.4.3 — direct
- event-target-shim@5.0.1 — indirect
- events@3.3.0 — indirect
- fast-unique-numbers@9.0.27 — indirect
- help-me@5.0.0 — direct
- ieee754@1.2.1 — indirect
- inherits@2.0.4 — indirect
- ip-address@10.7.5 — indirect
- lru-cache@10.4.3 — direct
- minimist@1.2.8 — direct
- mqtt-packet@9.0.2 — direct
- ms@2.1.3 — indirect
- process@0.11.10 — indirect
- process-nextick-args@2.0.1 — indirect
- readable-stream@3.6.2 — indirect
- readable-stream@4.8.0 — direct
- rfdc@1.4.1 — direct
- safe-buffer@5.2.1 — indirect
- smart-buffer@4.2.0 — indirect
- socks@2.8.10 — direct
- split2@4.2.0 — direct
- string_decoder@1.3.0 — indirect
- tslib@2.8.1 — indirect
- typedarray@0.0.6 — indirect
- undici-types@8.9.0 — indirect
- util-deprecate@1.0.2 — indirect
- worker-factory@7.0.50 — indirect
- worker-timers@8.0.34 — direct
- worker-timers-broker@8.0.18 — indirect
- worker-timers-worker@9.0.15 — indirect
- ws@8.22.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 3/10 — Found 10/28 approved changesets -- score normalized to 3 |
|---|---|
| Maintained | 4/10 — 3 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 4 |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 9/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 2/10 — SAST tool is not run on all commits -- score normalized to 2 |
Evidence and freshness
- https://registry.npmjs.org/mqtt/5.16.1 — retrieved 2026-10-29T06:02:49.847Z (stale snapshot; refresh pending)
- https://api.deps.dev/v3/projects/github.com%2Fmqttjs%2FMQTT.js — retrieved 2026-10-29T06:02:50.407Z
- https://api.deps.dev/v3/systems/npm/packages/mqtt/versions/5.16.1 — retrieved 2026-10-29T07:59:37.928Z
- https://api.deps.dev/v3/systems/npm/packages/mqtt/versions/5.16.1:dependencies — retrieved 2026-10-29T07:59:37.959Z