0.1.0 • Published 1 year ago
clicker-master-lib v0.1.0
Info
This is the master side js/ts lib for Android-Remote-Clicker
Example
import { CommandJsonBuilder } from "../src/CommandJsonBuilder"
let commandBuilder =new CommandJsonBuilder();
commandBuilder
.click(1,2)
.sleep(100)
.swipe(100,200,300,400)
.swipe(100,200,300,400,500)
.swipe(100,200,300,400,500,1000)
;
let out=commandBuilder.build();
if(out.commands!=="click 1 2;sleep 100;swipe 100 200 300 400;swipe 100 200 300 400 500;swipe 100 200 300 400 500 1000;"){
throw new Error(out.commands);
}
console.log(out)
console.log(commandBuilder.buildString())
0.1.0
1 year ago