Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

android-device-monitor

0.0.3 • Public • Published

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

install

npm i android-device-monitor

Downloadsweekly downloads

3

version

0.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar