WebUSB API

Chrome now supports the WebUSB API, allowing web apps to communicate with peripherals given a user’s consent. This enables all the functionality provided by these devices, while still preserving the security guarantees of the web.

https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web

https://developers.google.com/web/fundamentals/getting-started/primers/promises