https://github.com/webadb/webadb.js
ADB host implementation based on WebUSB
https://github.com/webadb/webadb.js
Last synced: 3 months ago
JSON representation
ADB host implementation based on WebUSB
- Host: GitHub
- URL: https://github.com/webadb/webadb.js
- Owner: webadb
- License: mit
- Archived: true
- Created: 2017-07-17T09:05:02.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T12:28:28.000Z (over 4 years ago)
- Last Synced: 2025-04-02T04:37:12.433Z (3 months ago)
- Language: JavaScript
- Homepage: https://webadb.github.io
- Size: 48.8 KB
- Stars: 416
- Watchers: 11
- Forks: 73
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - webadb.js - Android Debug Bridge (ADB) protocol library (Libraries)
README
## One-stop .js for Android Debug Bridge (adb) over WebUSB
```js
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:
```html
```