Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edge-diagnostics-launch

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-diagnostics-launch

Launcher for Microsoft Edge Diagnostics Adapter

  • 1.1.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
1
Weekly downloads
 
Created
Source

edge-diagnostics-launch

Launcher for Microsoft Edge Diagnostics Adapter to make it simpler to start an instance of the Edge with diagnostics enabled.

Installation

npm install edge-diagnostics-launch

Options

{
  adapterPath: '' // Optional, override adaptor path
  port: 9222, // Optional, override socket port
}

Usage

var launch = require('edge-diagnostics-launch')
var options = {
  adapterPath: '' // Optional, override adaptor path
  port: 9222, // Optional, override socket port
}

// launch(<url>, <options>, callback)
var edge = launch('http://microsoft.com', options, function(err) {
  
  if (err) {
    console.log('Something went wrong when starting Edge', err)
  } else {
    console.log('Edge launched. Go connect')
  }
  
})

edge.on('exit', function(code) {
  console.log('Edge has excited with code', code)
})

// stdout + stderr streams from adaptor
edge.stdout.on('data', function(data) {
  console.log('edge.stdout', data)
})

edge.stderr.on('data', function(data) {
  console.log('edge.stderr', data)
})

License

MIT.

Keywords

FAQs

Package last updated on 26 Apr 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc