# ngx-mqtt-8

> ngx mqtt client library

Latest version **0.0.2** (published 2020-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install ngx-mqtt-8
pnpm add ngx-mqtt-8
yarn add ngx-mqtt-8
bun add ngx-mqtt-8
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-03-13 |
| First published | 2020-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 521.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 187 |
| Author | sclausen |
| Maintainers | palmtreefrb |
| Keywords | angular, angular6, angular7, angular8, mqtt |

## Links

- npm: https://www.npmjs.com/package/ngx-mqtt-8
- Repository: https://github.com/sclausen/ngx-mqtt
- Homepage: https://github.com/sclausen/ngx-mqtt#readme
- Issues: https://github.com/sclausen/ngx-mqtt/issues
- npm.io page: https://npm.io/package/ngx-mqtt-8

## Dependencies (4)

- [mqtt](https://npm.io/package/mqtt.md) ^3.0.0
- [ssri](https://npm.io/package/ssri.md) >=8.0.0
- [ecstatic](https://npm.io/package/ecstatic.md) >=4.1.2
- [@types/node](https://npm.io/package/@types/node.md) 13.9.1

## Recent versions

- 0.0.2 (latest) — 2020-03-13
- 0.0.1 — 2020-03-13

## README

# ngx-mqtt-8

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.


## **Forked from sclausen ngx-mqtt and compiled with angular 8.2.4

---
_Source: https://npm.io/package/ngx-mqtt-8 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
