@robot.com/better-mqtt
Version:
A modern, TypeScript-first MQTT client library that provides a better developer experience with async iterators, shared subscriptions, and React hooks. Better MQTT is a wrapper around the excellent [mqtt.js](https://github.com/mqttjs/MQTT.js) library, enh
51 lines • 1.03 kB
JSON
{
"name": "@robot.com/better-mqtt",
"version": "0.3.2",
"repository": {
"type": "git",
"url": "https://github.com/robot-com/oss.git",
"directory": "packages/better-mqtt"
},
"license": "MIT",
"author": "Tomás Cichero <tcichero@robot.com>",
"keywords": [
"mqtt",
"communication",
"robotics",
"pub-sub"
],
"type": "module",
"exports": {
".": {
"types": {
"import": "./index.d.ts",
"require": "./index.d.ts"
},
"require": "./index.js",
"import": "./index.js"
},
"./react": {
"types": {
"import": "./react.d.ts",
"require": "./react.d.ts"
},
"require": "./react.js",
"import": "./react.js"
},
"./mock": {
"types": {
"import": "./mock.d.ts",
"require": "./mock.d.ts"
},
"require": "./mock.js",
"import": "./mock.js"
}
},
"dependencies": {
"ee-ts": "^1.0.2",
"mqtt": "^5.13.2"
},
"peerDependencies": {
"react": ">=16.8.0"
}
}