tm

Install:

npm install tm
4 downloads in the last month

tm

Install:

npm install tm

Then to blink some lights:

var board = require('tm');

board.led(1).output();
board.led(2).output();

while (1) {
  board.led(1).high();
  board.led(2).high();
  board.sleep(200);
  board.led(1).low();
  board.led(2).low();
  board.sleep(200);
}

Then load:

ss blink.js
npm loves you