shoerofi / web-serial-polyfill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:Apache License 2.0


Languages

Language:TypeScript 95.3%Language:JavaScript 4.7%