Mindstorms bluetooth is a nodejs module to communicate with your mindstorm brick using the direct api over bluetooth.
npm install mindstorms_bluetooth
First setup your Lego Mindstoms NXT brick. It will create a serial port, get that name. On Mac OS X is it on the form: /dev/tty.NXT-DevB, or at least on my mac is it so.
Require it, initialize and use.
var Nxt = require('mindstorms_bluetooth');
var nxt = new Nxt("/dev/tty.NXT-DevB");
nxt.play_tone(440, 1000);
Please see the nxt.js for now. I will create a better api documentation soon.
TODO