Skip to content

A zero-dependency and easy-to-use adb library for making automated game software

License

Notifications You must be signed in to change notification settings

Roanne666/game-adb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

game-adb

Introduction

game-adb is an easy-to-use adb library for making automated game software

Installation

// with npm
npm install game-adb

// with yarn
yarn add game-adb

Usage

Create adb client and get device

import { Adb } from "game-adb";

(async () => {
  const adb = await Adb(path/to/adb);
  const devices = await adb.getDevices()
  const device = adb.devices.find((d) => d.serialNumber === "emulator-5554");
  
  if (device) {
    // code
  }
})()

Please view the contents of the "test" folder in packages for more usage instructions

About

A zero-dependency and easy-to-use adb library for making automated game software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published