Skip to content

Urucas/android-device-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

android-device-monitor

Monitoring Android USB Devices in Node

#Install

npm install -g android-device-monitor

#Usage

$ android-device-monitor

API

import monitor from 'android-device-monitor'
monitor({
  "onConnection": (device) => {
    // do something when a device is connected
  },
  "onDisconnection": (device) => {
    // do something when a device is disconnected
    // send an alert to wake up somebody
  }
})

#Requirements

#Related

About

Monitoring Android USB Devices in Node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published