This repo supports the article Hardware Hacking with JavaScript featured on Smashing Magazine.
To get started, with node and NPM installed, open your terminal/command line and run:
npm installYou will need the hardware described in the article to run these examples
node strobe-led.jsnode server.js- server-express.js - Runs a simple express server
- server-socket.js - Runs an express server with websockers
- temperature.js - With the hardware setup, this will run a simple temperature sensor example.