@twoavy/twoavy-mqtt
v2.0.2
Published
mqtt via package
Downloads
3
Keywords
Readme
twoavy-mqtt
A javascript library for a simplified MQTT setup
Installation
npm i @twoavy/twoavy-mqtt
OR
yarn add @twoavy/twoavy-mqtt
import mqttClient from '@twoavy/twoavy-mqtt/client'
import mqttServer from '@twoavy/twoavy-mqtt/server'
Usage
createApp(App).use(mqttClient, {server: 'ws://localhost:8883', username: 'u', password: 'p', qos: 0}).mount('#app')