webusb-serial
A virtual node-serialport implementation that uses webusb as the transport.
webusbSerialPort
Use webusb to send/receive data to a USB connected physical device:
var WebusbSerialPort = ;var firmata = ; //create the webusb serialport and optionally specify a USB filtervar serialPort = filters: 'vendorId': 0x2341 'productId': 0x8036 // Arduino Leonardo 'vendorId': 0x2341 'productId': 0x8037 // Arduino Micro 'vendorId': 0x239a 'productId': 0x8011 // Adafruit Circuit Playground ; //use the virtual serial port to send a command to a firmata devicevar board = serialPort { if err throw err; //light up a pin board;};