node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

serial-commands

serial-commands

Async serial queue for commands.

 
serialCommands = require('serial-commands')([cmnd0,cmnd1],triggerMeWhenDone);
 
serialCommands.addCommand(cmnd3);
serialCommands.addCommandAt(2,cmnd2);
serialCommands.execute();