webadb
v1.0.1
Published
ADB host implementation based on WebUSB
Downloads
28
Readme
One-stop .js for Android Debug Bridge (adb) over WebUSB
let webusb = await Adb.open("WebUSB");
let adb = await webusb.connectAdb("host::");
let shell = await adb.shell("uname -a");
console.log(await shell.receive());
Install
From NPM:
npm install --save webadb
From CDN:
<script src="https://cdn.jsdelivr.net/gh/webadb/webadb.js@master/webadb.js"></script>