All Projects → sclausen → Ngx Mqtt

sclausen / Ngx Mqtt

Licence: mit
This library isn't just a wrapper around MQTT.js for angular. It uses observables and takes care of subscription handling and message routing.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Ngx Mqtt

Angulartics2
Vendor-agnostic analytics for Angular2 applications.
Stars: ✭ 963 (+513.38%)
Mutual labels:  angular2, angular5, ngx
Ngx Daterangepicker Material
Pure Angular 2+ date range picker with material design theme, a demo here:
Stars: ✭ 169 (+7.64%)
Mutual labels:  angular2, angular5, ngx
Ngx Masonry
Angular Module for displaying a feed of items in a masonry layout
Stars: ✭ 102 (-35.03%)
Mutual labels:  angular5, ngx
Angular Admin Lte
AdminLte for Angular 2
Stars: ✭ 109 (-30.57%)
Mutual labels:  angular2, angular5
Ng2 Pdfjs Viewer
An angular 8 component for PDFJS and ViewerJS (Supports angular 2/4/5/6/7)
Stars: ✭ 150 (-4.46%)
Mutual labels:  angular2, angular5
Springbootangularhtml5
♨️ Spring Boot 2 + Angular 11 + HTML5 router mode + HTTP interceptor + Lazy loaded modules
Stars: ✭ 89 (-43.31%)
Mutual labels:  angular2, angular5
Ng2 Flatpickr
Angular 2+ wrapper for flatpickr (https://github.com/chmln/flatpickr)
Stars: ✭ 91 (-42.04%)
Mutual labels:  angular2, angular5
Angular5 Iot Dashboard
Multipurpose dashboard admin for IoT softwares, remote control, user interface. Develop your client dashboards in Angular 5 with vast variety of components available.
Stars: ✭ 148 (-5.73%)
Mutual labels:  angular2, angular5
Drip Ionic3
「水滴打卡」App Open Source Code Base On Ionic V3 Framework
Stars: ✭ 74 (-52.87%)
Mutual labels:  angular2, angular5
Angular Application Insights
Angular & Azure Application Insights module - Find out performance and usage of your app by connecting Microsoft Azure Application insights with your Angular application by @TrilonIO
Stars: ✭ 125 (-20.38%)
Mutual labels:  angular2, angular5
Angular5 Example Shopping App
Angular 5 Example Shopping App + Angular Material + Responsive
Stars: ✭ 120 (-23.57%)
Mutual labels:  angular2, angular5
Fusebox Angular Universal Starter
Angular Universal seed project featuring Server-Side Rendering, @fuse-box bundling, material, firebase, Jest, Nightmare, and more
Stars: ✭ 132 (-15.92%)
Mutual labels:  angular2, angular5
Angular Seed
Angular Seed App with Angular 5.0, ngrx/store 4, bootstrap 4, ngrx/effects, immutable.js
Stars: ✭ 87 (-44.59%)
Mutual labels:  angular2, angular5
Ngx Papaparse
Papa Parse wrapper for Angular
Stars: ✭ 83 (-47.13%)
Mutual labels:  angular2, angular5
Angular File Uploader
Angular file uploader is an Angular 2/4/5/6/7/8/9/10 + file uploader module with Real-Time Progress Bar, Responsive design, Angular Universal Compatibility, localization and multiple themes which includes Drag and Drop and much more.
Stars: ✭ 92 (-41.4%)
Mutual labels:  angular2, angular5
Angular2
Angular 2 Seed
Stars: ✭ 75 (-52.23%)
Mutual labels:  angular2, angular5
Aspnetcore Angular Universal
ASP.NET Core & Angular Universal advanced starter - PWA w/ server-side rendering for SEO, Bootstrap, i18n internationalization, TypeScript, unit testing, WebAPI REST setup, SignalR, Swagger docs, and more! By @TrilonIO
Stars: ✭ 1,455 (+826.75%)
Mutual labels:  angular2, angular5
Ng2 Search Filter
Angular 2 / Angular 4 / Angular 5 custom pipe npm module to make a search filter on any input, 🔥 100K+ downloads
Stars: ✭ 137 (-12.74%)
Mutual labels:  angular2, angular5
Angular Tree Component
A simple yet powerful tree component for Angular (>=2)
Stars: ✭ 1,031 (+556.69%)
Mutual labels:  angular2, angular5
Ng2 Breadcrumbs
A breadcrumb service for the Angular 7 router
Stars: ✭ 61 (-61.15%)
Mutual labels:  angular2, angular5

ngx-mqtt npm Travis

This library isn't just a wrapper around MQTT.js for angular >= 2. It uses observables and takes care of subscription handling and message routing.

For reasons of convenience, I removed the copied typings from mqtt.js and added it as a dev-dependency while still bundling the browserified latest version of it. 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, because this is a browser library where you can't conntect with something other than 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 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. Also please be aware that exact MQTT version used as dependency, you need to manually bump it if it will update.

Publish new version

To follow semver helper scripts was added npm run release:patch etc. Those commands will autoupdate changelog and dependant package.json's

Unfortunately command npm publish is broken due to nature of ng-packager. It's substituted with npm run publish, which will correctly build and publish production build

Webpack shimming

ngx-mqtt depends on mqtt package which uses node globals. In order to make it run inside browser it includes a postinstall script which patches Angular webpack config of the project it was imported into. To disable this, you have to set MQTT_DISABLE_HOOK environmental variable while installing this package. MQTT_DISABLE_HOOK=true npm i

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].