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 400,000 packages pre-installed, including win-node-dash-button with all npm packages installed. Try it out:

var winNodeDashButton = require("win-node-dash-button")

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

win-node-dash-button v0.1.2

A windows-based node module to emit events when an Amazon dash button is pressed

win-node-dash-button

A node module built for Windows to emit events when an Amazon Dash Button is pressed

Examples

var svr = new Server(),
    tide   = new DashButton("12:34:56:78:90:12", function () { console.log("Tide pressed"); });

svr.register(tide)
   .start("192.168.1.10");
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