Socket
Socket
Sign inDemoInstall

adbhost

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    adbhost

Android Debug Bridge host protocol client


Version published
Weekly downloads
4
decreased by-66.67%
Maintainers
1
Install size
11.5 kB
Created
Weekly downloads
 

Readme

Source

node-adbhost

Android Debug Bridge host protocol client for node.js Currently only tcp transport is supported (usb transport in TODO). You don't need to have local adb server running on your computer.

NPM

Install

npm install adbhost

Enable tcp transport in adb on your device

Example

simple shell (pass your device IP address as a command line parameter):

var adbhost = require('adbhost');
var adb   = adbhost.createConnection({host: process.argv[2]});
var shell = adb.createStream('shell:');
process.stdin.pipe(shell);
shell.pipe(process.stdout);

API

  conn = adbhost.createConnection(opts);
  • create connection to device. ops.port, opts.host, opts.stream
  s = conn.createStream(path);

Keywords

FAQs

Last updated on 16 Oct 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc