let webusb = await Adb.open("WebUSB");
let adb = await webusb.connectAdb("host::");
let shell = await adb.shell("uname -a");
console.log(await shell.receive());
From NPM:
npm install --save webadb
From CDN:
<script src="https://cdn.jsdelivr.net/gh/webadb/webadb.js@master/webadb.js"></script>