Skip to content

korgiftcard/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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.6%
  • HTML 12.4%