graphql-mqtt-subscriptions
graphql-mqtt-subscriptions copied to clipboard
Adds a way to return topic, packet info, and raw buffer data with message
This is an implementation of my feature request #15. I see that pull request #14 implements a similar method; however, it does not include the packet info provided by the MQTT library and removes message parsing.
If you need to use this version before it is merged, you can install it with:
$ npm i henhen724/graphql-mqtt-subscriptions#distribution --save
or if your more of yarn person:
$ yarn add henhen724/graphql-mqtt-subscriptions#distribution