Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sclausen/ngx-mqtt
This library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.
https://github.com/sclausen/ngx-mqtt
angular angular2 angular5 mqtt ngx ngx-mqtt
Last synced: 1 day ago
JSON representation
This library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.
- Host: GitHub
- URL: https://github.com/sclausen/ngx-mqtt
- Owner: sclausen
- License: mit
- Created: 2016-11-24T11:59:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T10:36:33.000Z (8 months ago)
- Last Synced: 2025-01-13T03:06:32.887Z (8 days ago)
- Topics: angular, angular2, angular5, mqtt, ngx, ngx-mqtt
- Language: TypeScript
- Homepage: https://sclausen.github.io/ngx-mqtt/
- Size: 2.64 MB
- Stars: 185
- Watchers: 18
- Forks: 82
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ngx-mqtt [![npm](https://img.shields.io/npm/v/ngx-mqtt.svg)](https://www.npmjs.com/package/ngx-mqtt) [![Travis](https://img.shields.io/travis/sclausen/ngx-mqtt.svg)](https://travis-ci.org/sclausen/ngx-mqtt)
This library isn't just a wrapper around MQTT.js for angular.
It uses observables and takes care of subscription handling and message routing.Since it's based on the browserified version of mqtt.js, this means although you have the possibility to use `mqtt`, `mqtts`, `tcp`, `ssl`, `wx` or `wxs` as the protocol in the client options, you can't use it, because this is a browser library where you can't conntect with mqtt directly via tcp, but with websockets. You also can't use `key`, `cert` and `ca` for the same reasons.
If you have any issues using this library, please visit it's [homepage](https://sclausen.github.io/ngx-mqtt/) and look for similar issues in the issue tracker before you file a bug.
## **ngx-mqtt >= 7 is only compatible with angular >= 9**
## Local development
For local development all peer dependency automatically installed during install.