JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q36386F
  • License MIT

Discover Firefox Desktop and Firefox OS remote debugging tools listening ports

Package Exports

  • fx-ports

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fx-ports) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

fx-ports

Discover ports where Firefox Remote Debugging Tool is listening

Install

# Library
$ npm install fx-ports

# Command line
$ npm install -g fx-ports

Usage

$ 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
var fxports = require('fx-ports');
fxports({detailed:true, b2g:true}, function(err, instances) {
  console.log("Found a B2G on", instances.port);
});