Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 922 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 922 Bytes

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.