Package Exports
- webadb
- webadb/webadb.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webadb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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>