{"id":19839066,"url":"https://github.com/fedebertolini/html-dom-trace","last_synced_at":"2026-06-16T14:31:45.724Z","repository":{"id":57267362,"uuid":"444576294","full_name":"fedebertolini/html-dom-trace","owner":"fedebertolini","description":"NodeJS CLI to parse HTML document and model the DOM as a Trace","archived":false,"fork":false,"pushed_at":"2022-01-09T21:51:31.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T08:19:05.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fedebertolini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-04T22:02:19.000Z","updated_at":"2023-03-28T12:41:17.000Z","dependencies_parsed_at":"2022-08-26T12:33:12.732Z","dependency_job_id":null,"html_url":"https://github.com/fedebertolini/html-dom-trace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fedebertolini/html-dom-trace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fhtml-dom-trace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fhtml-dom-trace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fhtml-dom-trace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fhtml-dom-trace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedebertolini","download_url":"https://codeload.github.com/fedebertolini/html-dom-trace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fhtml-dom-trace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34410780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T12:20:09.969Z","updated_at":"2026-06-16T14:31:45.705Z","avatar_url":"https://github.com/fedebertolini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# html-dom-trace\nNodeJS CLI to fetch and parse a HTML document, model the DOM as a Trace and send it to HoneyComb.\n\nEach 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](https://github.com/fedebertolini/html-size-visualizer), with a different visualization tool).\n\n![Visualization of HTML DOM as a Honeycomb trace](./honeycomb-html-dom-trace.png)\n\n## Installation\n\nInstall CLI as global package: `npm i -g html-dom-trace`\n\n## Usage\n`$ html-dom-trace \u003curl\u003e [options]`\n\n**Options:**\n- `--hc-key`: HoneyComb API Key\n- `--hc-dataset`: HoneyComb Dataset name  (default html-dom-trace)\n- `-v, --version`: Displays current version\n- `-h, --help`: Displays this message\n\n**Examples**\n```\n$ html-dom-trace https://www.example.com --hc-key=1234567890 --hc-dataset=html-traces\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebertolini%2Fhtml-dom-trace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedebertolini%2Fhtml-dom-trace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebertolini%2Fhtml-dom-trace/lists"}