Skip to content

ADB host implementation based on WebUSB web网页实现adb功能

License

Notifications You must be signed in to change notification settings

TangJhan/webadb.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

ADB host implementation based on WebUSB web网页实现adb功能

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • JavaScript 87.6%
  • HTML 12.4%