Skip to content

Repository files navigation

Hardware Hacking with JavaScript

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 install

You will need the hardware described in the article to run these examples

Example 1 - Hello World

node strobe-led.js

Example 2 - Home Automation

node server.js

Other examples

  • 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.

About

Smashing Magazine Article - Hardware Hacking with JavaScript

Resources

Stars

19 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages