grbl

grbl repl / library

node-grbl

Communicate with grbl running on an arduino

npm install -g grbl
grbl

now you have a repl to your machine!

npm install grbl

 
var grbl = require('grbl');
 
grbl(function(machine) {
  process.stdin.pipe(machine);
  process.stdin.resume();
  machine.on('line', function(line) {
    process.stdout.write('line:' + line + '\n');
  });
});
 

MIT