{"id":21198226,"url":"https://github.com/xiaoping6688/mqtt-socket","last_synced_at":"2025-03-14T22:12:48.914Z","repository":{"id":143985108,"uuid":"92590265","full_name":"xiaoping6688/mqtt-socket","owner":"xiaoping6688","description":"Eclipse Paho MQTT Client 封装，实现重连、队列和日志功能等","archived":false,"fork":false,"pushed_at":"2017-06-15T03:35:35.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T14:45:29.904Z","etag":null,"topics":["mqtt-aliyun","mqtt-client","mqtt-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaoping6688.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-27T10:01:13.000Z","updated_at":"2020-08-14T11:16:11.000Z","dependencies_parsed_at":"2024-07-09T13:16:46.485Z","dependency_job_id":null,"html_url":"https://github.com/xiaoping6688/mqtt-socket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoping6688%2Fmqtt-socket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoping6688%2Fmqtt-socket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoping6688%2Fmqtt-socket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoping6688%2Fmqtt-socket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaoping6688","download_url":"https://codeload.github.com/xiaoping6688/mqtt-socket/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243652707,"owners_count":20325611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mqtt-aliyun","mqtt-client","mqtt-js"],"created_at":"2024-11-20T19:49:21.839Z","updated_at":"2025-03-14T22:12:48.904Z","avatar_url":"https://github.com/xiaoping6688.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mqtt-socket\nEclipse Paho MQTT Client 封装 (javascript)，实现重连、队列和日志功能，支持node module引入；\n\u003e 该例服务端使用阿里云MQTT；另外推荐使用[MQTT.js](https://github.com/mqttjs/MQTT.js)：The MQTT client for Node.js and the browser\n\n## Usage\n\n```js\n// for client\nmqtt.connect(MQTT_CONIFG, onConnected, onReceived);\nmqtt.sendToAll(110, {});\nmqtt.sendToUser(YourDevID, 110, {});\n\n// for server\n使用阿里云的[MQTT 物联套件](https://help.aliyun.com/document_detail/42419.html)\n\n//=\u003e @see test.html\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoping6688%2Fmqtt-socket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaoping6688%2Fmqtt-socket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoping6688%2Fmqtt-socket/lists"}