mqtt 5.6.1
A library for the MQTT protocol
mqtt@5.6.1 was published on 2024-05-17. Its manifest declares 17 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.6.1 · Latest release
Package specifications
| Version | 5.6.1 |
|---|---|
| License declaration | MIT |
| Published | 2024-05-17T08:32:40.895Z |
| Node.js requirement | >=16.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 17 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 1804.18 KiB |
| Published file count | 131 |
| 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 | 51 |
| Repository stars | 9126 |
| Repository forks | 1456 |
Install mqtt 5.6.1
npm install mqtt@5.6.1 pnpm add mqtt@5.6.1 yarn add mqtt@5.6.1
Runtime dependencies
- ws ^8.14.2
- mqtt ^5.2.0
- rfdc ^1.3.0
- debug ^4.3.4
- split2 ^4.2.0
- commist ^3.2.0
- help-me ^5.0.0
- minimist ^1.2.8
- @types/ws ^8.5.9
- lru-cache ^10.0.1
- reinterval ^1.1.0
- mqtt-packet ^9.0.0
- concat-stream ^2.0.0
- worker-timers ^7.1.4
- readable-stream ^4.4.2
- number-allocator ^1.0.14
- @types/readable-stream ^4.0.5
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@8.0.13 — 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
- js-sdsl@4.3.0 — indirect
- lru-cache@10.4.3 — direct
- minimist@1.2.8 — direct
- mqtt@5.16.1 — direct
- mqtt-packet@9.0.2 — direct
- ms@2.1.3 — indirect
- number-allocator@1.0.14 — direct
- process@0.11.10 — indirect
- process-nextick-args@2.0.1 — indirect
- readable-stream@3.6.2 — indirect
- readable-stream@4.8.0 — direct
- reinterval@1.1.0 — direct
- rfdc@1.4.1 — direct
- safe-buffer@5.2.1 — indirect
- smart-buffer@4.2.0 — indirect
- socks@2.8.10 — indirect
- 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@7.1.8 — direct
- worker-timers@8.0.34 — indirect
- worker-timers-broker@6.1.8 — indirect
- worker-timers-broker@8.0.18 — indirect
- worker-timers-worker@7.0.71 — 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.6.1 — retrieved 2026-10-29T09:31:47.671Z
- 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.6.1 — retrieved 2026-10-29T09:31:48.157Z
- https://api.deps.dev/v3/systems/npm/packages/mqtt/versions/5.6.1:dependencies — retrieved 2026-10-29T09:31:48.180Z