{"full_name":"mqttjs/MQTT.js","owner":"mqttjs","name":"MQTT.js","shard":"1","url":"https://github.com/mqttjs/MQTT.js","description":"The MQTT client for Node.js and the browser","homepage":"","topics":["mqtt","javascript","nodejs-library","mqtt-broker","hacktoberfest"],"tag_pages":["hacktoberfest","javascript","mqtt"],"language":"TypeScript","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/10424911?v=4","created_at":"2011-04-05T00:33:23Z","pushed_at":"2026-10-20T07:15:24Z","metrics":{"stars":9131,"forks":1451,"watchers":217,"issues":1226,"prs":777,"releases":197,"issues_open":20,"issues_closed":1206,"prs_open":23,"prs_closed":177,"prs_merged":577,"discussions":68},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[9129,9131,9131,9131,9131,9131,9131],"forks":[1452,1452,1451,1451,1451,1451,1451],"watchers":[null,217,217,217,217,217,217],"issues_open":[null,20,20,20,20,20,20],"prs_open":[null,23,23,23,23,23,23]},"boards":{},"same_owner":[],"issues":[{"number":828,"title":"TransformUrl function returns a async promise instead of new url string","comments":22,"created_at":"2018-05-30T16:53:07Z"},{"number":2002,"title":"Architectural improvements","comments":18,"created_at":"2025-06-09T12:06:06Z"},{"number":2038,"title":"Roadmap: MQTT.js v6 — Zero/minimal dependencies, tree-shakeable transports, reduced bundle size","comments":15,"created_at":"2026-02-18T09:15:32Z"},{"number":1569,"title":"When connecting `ws://[::1]:8883`, an error is thrown - Uncaught TypeError TypeError [ERR_INVALID_URL]: Invalid URL","comments":13,"created_at":"2023-01-16T15:44:10Z"},{"number":1939,"title":"[Bug]: Errors do not result in an error event","comments":10,"created_at":"2024-09-20T16:18:03Z"},{"number":1795,"title":"[feat] Add support for MQTT 5 refresh auth","comments":9,"created_at":"2024-02-26T08:11:28Z"},{"number":710,"title":"end() callback not called if `force` is true and the stream is already closed (eg. after a failed keepalive ping)","comments":9,"created_at":"2017-11-04T02:39:21Z"},{"number":1651,"title":"Problem of sending outgoingStore data even though CONNACK sessionPresent is false","comments":8,"created_at":"2023-07-27T06:38:52Z"}],"discussions":[{"number":2032,"title":"No failure of publish in case of broker down","comments":3,"category":"Q&A","created_at":"2025-11-28T11:29:19Z"},{"number":2029,"title":"How to prevent duplicate connect when reload browser","comments":2,"category":"Show and tell","created_at":"2025-10-15T11:15:25Z"},{"number":2027,"title":"Can React Native connect to TCP MQTT?","comments":1,"category":"Q&A","created_at":"2025-09-28T06:09:21Z"},{"number":2021,"title":"Any one else getting massive errors after upgrading to 5.14.0 ?","comments":1,"category":"General","created_at":"2025-08-11T09:04:39Z"},{"number":2014,"title":"Missing `url` dependency?","comments":1,"category":"Q&A","created_at":"2025-07-26T03:10:42Z"},{"number":2000,"title":"Architectural improvements","comments":12,"category":"Ideas","created_at":"2025-05-30T07:41:49Z"},{"number":1998,"title":"Guidance for Using MQTT.js in IoT-Based Web App (New to JavaScript)","comments":1,"category":"Q&A","created_at":"2025-05-15T08:59:21Z"},{"number":1997,"title":"MQTT frequent connection and disconnection","comments":1,"category":"Q&A","created_at":"2025-05-12T17:00:58Z"}],"latest_release":{"name":"Release 5.16.1","tag":"v5.16.1","published_at":"2026-10-14T13:24:30Z","body":"## [5.16.1](https://github.com/mqttjs/MQTT.js/compare/v5.16.0...v5.16.1) (2026-10-14)\n\n### Bug Fixes\n\n* reconnect instead of ending a client whose stream is already destroyed ([#2068](https://github.com/mqttjs/MQTT.js/issues/2068)) ([569bb31](https://github.com/mqttjs/MQTT.js/commit/569bb318b9e0fbde4e876ef450c2d88e37eca6f3))\n* schedule browser process.nextTick with queueMicrotask ([#2056](https://github.com/mqttjs/MQTT.js/issues/2056)) ([648b79c](https://github.com/mqttjs/MQTT.js/commit/648b79ccad79135f82198677c381a0c0e4fdd9bf)), closes [#2074](https://github.com/mqttjs/MQTT.js/issues/2074)","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}