{"id":17659715,"url":"https://github.com/tscpp/cdp-web","last_synced_at":"2026-04-30T10:37:57.420Z","repository":{"id":206812990,"uuid":"717780790","full_name":"tscpp/cdp-web","owner":"tscpp","description":"Provides a lightweight way to communicate with the Chrome DevTools Protocol (CDP).","archived":false,"fork":false,"pushed_at":"2023-11-12T15:26:28.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T23:52:40.643Z","etag":null,"topics":["cdp","chrome","chrome-devtools-protocol","devtools"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tscpp.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,"governance":null}},"created_at":"2023-11-12T15:21:06.000Z","updated_at":"2024-02-17T11:56:32.000Z","dependencies_parsed_at":"2023-11-12T15:27:10.554Z","dependency_job_id":"98bfc71d-01db-42de-bf44-3dcbaba9bdc6","html_url":"https://github.com/tscpp/cdp-web","commit_stats":null,"previous_names":["tscpp/cdp-web"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tscpp/cdp-web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tscpp%2Fcdp-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tscpp%2Fcdp-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tscpp%2Fcdp-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tscpp%2Fcdp-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tscpp","download_url":"https://codeload.github.com/tscpp/cdp-web/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tscpp%2Fcdp-web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32462304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["cdp","chrome","chrome-devtools-protocol","devtools"],"created_at":"2024-10-23T16:08:03.122Z","updated_at":"2026-04-30T10:37:57.402Z","avatar_url":"https://github.com/tscpp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cdp-web\n\nThis library provides a lightweight way to communicate with the [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/) (CDP). Supports browsers, Deno, Node, and Bun. Less than 2KB minified.\n\n```javascript\nimport { createCdpConnection } from \"cdp-web\";\n\nconst cdp = await createCdpConnection({\n  url: \"http://localhost:9222\", // optional, default value\n  target: \"page\", // optional, default value\n});\n\n// Send 'Tracing.getCategories' command and wait for the result.\nconst categories = await cdp.send(\"Tracing.getCategories\");\n\n// Listen for all CDP events.\ncdp.addEventListener(\"message\", (event) =\u003e {\n  if (event.method === \"Tracing.dataCollected\") {\n    // Handle 'Tracing.dataCollected' event.\n    console.log(event.params);\n  }\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftscpp%2Fcdp-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftscpp%2Fcdp-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftscpp%2Fcdp-web/lists"}