Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @mckennatim/mqtt-hooks with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. var mqttHooks = require("@mckennatim/mqtt-hooks")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@mckennatim/mqtt-hooks v2.0.2

A custom package to add Context provider and hooks to react apps that connect to esp8266 and esp32 based sensor/relays/timers. Applications can use any subset of sensors, relays and timers from one or more devices. Talks to both mqtt broker and to server providing application configuration and authentication. remember npm publish --access=public

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free