web-serial-polyfill
v1.0.15
Published
An implementation of the [Serial API](https://wicg.github.io/serial) on top of the [WebUSB API](https://wicg.github.io/webusb) for use with USB-to-serial adapters. Use of this library is limited to hardware and platforms where the device is accessible via
Downloads
1,737
Readme
Serial API Polyfill
An implementation of the Web Serial API on top of the WebUSB API for use with USB-to-serial adapters. Use of this library is limited to hardware and platforms where the device is accessible via the WebUSB API because it has not been claimed by a built-in device driver. This project was used to prototype the design of the Web Serial API and remains useful for platforms (such as Android) which support the WebUSB API but do not support the Web Serial API.
This is also available as an npm package here for convenience.
A demo of this library is provided as part of the serial terminal demo and can be activated by clicking the "Switch to API polyfill" link.