Talk to an Arduino using the Firmata protocol over streams.
$ git clone git@github.com:No9/firmata-stream.git
$ cd firmata-stream
Make a back up of ARDUINO_HOME/libraries/Firmata Folder Copy arduino\Firmata to ARDUINO_HOME/libraries It should replace the one you backed up. Open the StandardFirmata.ino and push it to your ardiuno board.
$ cd examples
$ node ledtest.js
Other examples will not work yet.