JavaScript Read USB



You can now officially use JavaScript to read USB devices that are connected to your computer. This is using the new WebUSB API that is still in early draft. As being so, the API could later change or be removed altogether until it receives the final verification.

In order to use WebUSB you need to be running the latest version of Google Chrome, with the experimental web platform features flag enabled. To enable it, type in chrome://flags/#enable-experimental-web-platform-features in your address bar and enable the highlighted option.

This post has been moved to Jsdeveloper.io

 

\