Serial API Polyfill

June 2022

demo

https://hpssjellis.github.io/web-serial-polyfill/index.html

An implementation of the 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 will be used to prototype the design of the Serial API.

This is also available as an npm package here for convenience.

God explanation here https://web.dev/serial/