{"id":18465990,"url":"https://github.com/mybigday/react-native-mqtt-server","last_synced_at":"2025-05-05T08:55:06.811Z","repository":{"id":175993553,"uuid":"653890207","full_name":"mybigday/react-native-mqtt-server","owner":"mybigday","description":"MQTT server on React Native","archived":false,"fork":false,"pushed_at":"2023-09-20T19:15:52.000Z","size":1143,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-01T14:18:51.594Z","etag":null,"topics":["mqtt-broker","mqtt-server","react-native"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mybigday.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-06-15T01:06:35.000Z","updated_at":"2025-02-10T09:19:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"d92c07e1-cbc3-4c9e-8e5f-a0d83671d092","html_url":"https://github.com/mybigday/react-native-mqtt-server","commit_stats":null,"previous_names":["mybigday/react-native-mqtt-server"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybigday%2Freact-native-mqtt-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybigday%2Freact-native-mqtt-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybigday%2Freact-native-mqtt-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mybigday%2Freact-native-mqtt-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mybigday","download_url":"https://codeload.github.com/mybigday/react-native-mqtt-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251887200,"owners_count":21659937,"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-broker","mqtt-server","react-native"],"created_at":"2024-11-06T09:14:46.171Z","updated_at":"2025-05-01T14:18:57.643Z","avatar_url":"https://github.com/mybigday.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-mqtt-server\n\nMQTT server on React Native\n\n## Installation\n\n```sh\nnpm install react-native-mqtt-server\n```\n\n## Usage\n\n```js\nimport { Server, SimpleMQBroker } from 'react-native-mqtt-server';\n\n// Use simple broker\nconst broker = new SimpleMQBroker();\nbroker.start();\nbroker.on('connect', id =\u003e console.log('Client connected', id));\nbroker.on('message', (topic, payload) =\u003e console.log('Message received', topic, payload));\n\n// Use as MQTT server directly\nconst server = new Server();\nserver.on('connection', client =\u003e {\n  client.on('data', packet =\u003e {\n    console.log('Packet received', packet);\n  });\n});\nserver.listen(1883);\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n\nMade with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://bricks.tools\"\u003e\n    \u003cimg width=\"90px\" src=\"https://avatars.githubusercontent.com/u/17320237?s=200\u0026v=4\"\u003e\n  \u003c/a\u003e\n  \u003cp align=\"center\"\u003e\n    Built and maintained by \u003ca href=\"https://bricks.tools\"\u003eBRICKS\u003c/a\u003e.\n  \u003c/p\u003e\n\u003c/p\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybigday%2Freact-native-mqtt-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmybigday%2Freact-native-mqtt-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmybigday%2Freact-native-mqtt-server/lists"}