Socket
Socket
Sign inDemoInstall

@line/headless-inspector

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@line/headless-inspector

## Getting Started


Version published
Weekly downloads
1.9K
decreased by-8.48%
Maintainers
5
Weekly downloads
 
Created
Source

headless-inspector

Getting Started

# serve https://
$ npx @line/headless-inspector --https
$ npx @line/headless-inspector --key=path/to/key.pem --cert=/path/to/cert.pem
# serve http://
$ npx @line/headless-inspector

And then, add the following script tag to the debug target html file.

<script src="//{@line/headless-inspector server domain}:9222/headless-inspector.js"></script>

Your website automatically connects to the local server and send debug information. Each connection has an unique hi_id id. The local server logs the id and devtools URL when the connection from your website is established.

FAQs

Package last updated on 09 May 2022

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