Skip to content

nicola/fx-ports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fx-ports

Discover ports where Firefox Remote Debugging Tool is listenin (Firefox OS Device through ADB, Firefox Desktop, Firefos OS Simulator)

This is part of node-fxos' project.

Install

# Library
$ npm install fx-ports

# Command line
$ npm install -g fx-ports

Usage

Command line

$ fx-ports --help

Usage: node fx-ports [options]

Options:
   --version    Print version and exit
   --b2g        Show Boot2Gecko (FirefoxOS) listening ports only
   --detailed   Show details of each Remote Debugger
   --firefox    Show Firefox Desktop listening ports only
   --json       Formats in json

Node library

var fxports = require('fx-ports');
fxports({detailed:true, b2g:true}, function(err, instances) {
  console.log("Found a B2G on", instances.port);
});

About

Discover Firefox Desktop and Firefox OS remote debugging tools listening ports in NodeJS/CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published