Socket
Socket
Sign inDemoInstall

html-dom-trace

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-dom-trace

Fetch a HTML document, model the DOM as a Trace and send it to HoneyComb


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

html-dom-trace

NodeJS CLI to fetch and parse a HTML document, model the DOM as a Trace and send it to HoneyComb.

Each DOM element is represented as a trace span, in which their span's duration is the estimated span's size (including children). All element attributes are mapped as span fields. This tool's purpose is to help detect big DOM subtrees (similar goal and implementation as html-size-visualizer, with a different visualization tool).

Visualization of HTML DOM as a Honeycomb trace

Installation

Install CLI as global package: npm i -g html-dom-trace

Usage

$ html-dom-trace <url> [options]

Options:

  • --hc-key: HoneyComb API Key
  • --hc-dataset: HoneyComb Dataset name (default html-dom-trace)
  • -v, --version: Displays current version
  • -h, --help: Displays this message

Examples

$ html-dom-trace https://www.example.com --hc-key=1234567890 --hc-dataset=html-traces

FAQs

Package last updated on 09 Jan 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