Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Add Web Serial to Deno #9710

Open
hashemisa opened this issue Mar 6, 2021 · 2 comments
Open

Request: Add Web Serial to Deno #9710

hashemisa opened this issue Mar 6, 2021 · 2 comments
Labels
suggestion suggestions for new features (yet to be agreed) web related to Web APIs

Comments

@hashemisa
Copy link

Web Serial API

The Web Serial API allows web browsers to communicate with serial devices!
You can chat with Arduinos, Raspberry Pis and most any device that speaks serial – straight from your website and no drivers needed.

Chrome 89 stable:

const port = await navigator.serial.requestPort()

const ports = await navigator.serial.getPorts()

https://web.dev/serial

https://www.chromestatus.com/features#milestone%3D89

Web USB API

Chrome 61 stable:

const usb = await navigator.usb.requestDevice()

const usbs = await navigator.usb.getDevices()

https://web.dev/usb

@hashemisa hashemisa changed the title Add Web Serial & USB API to Deno Request: Add Web Serial & USB API to Deno Mar 6, 2021
@nayeemrmn
Copy link
Collaborator

WebUSB is tracked in #9523, it should be excluded from this issue.

@lucacasonato lucacasonato added ext/web related to the ext/web crate suggestion suggestions for new features (yet to be agreed) web related to Web APIs and removed ext/web related to the ext/web crate labels Mar 6, 2021
@lucacasonato
Copy link
Member

Ref #6210

@kitsonk kitsonk changed the title Request: Add Web Serial & USB API to Deno Request: Add Web Serial to Deno Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion suggestions for new features (yet to be agreed) web related to Web APIs
Projects
None yet
Development

No branches or pull requests

3 participants