{"id":21327024,"url":"https://github.com/coderosh/docpa","last_synced_at":"2025-07-12T07:31:08.134Z","repository":{"id":45003972,"uuid":"447972568","full_name":"coderosh/docpa","owner":"coderosh","description":"A simple library that I use for web scraping. Uses htmlparser2 to parse dom.","archived":false,"fork":false,"pushed_at":"2022-01-14T15:58:56.000Z","size":71,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-03T03:51:35.524Z","etag":null,"topics":["docpa","document-parser","dom","html-parser"],"latest_commit_sha":null,"homepage":"https://npm.im/docpa","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderosh.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-14T13:13:36.000Z","updated_at":"2023-03-08T23:25:12.000Z","dependencies_parsed_at":"2022-09-26T17:20:53.838Z","dependency_job_id":null,"html_url":"https://github.com/coderosh/docpa","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/coderosh/docpa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fdocpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fdocpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fdocpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fdocpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderosh","download_url":"https://codeload.github.com/coderosh/docpa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderosh%2Fdocpa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264958135,"owners_count":23689006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docpa","document-parser","dom","html-parser"],"created_at":"2024-11-21T21:12:53.146Z","updated_at":"2025-07-12T07:31:07.869Z","avatar_url":"https://github.com/coderosh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docpa\n\n\u003e A simple library that I use for web scraping. Uses htmlparser2 to parse dom.\n\n### Usage\n\n```js\nconst Docpa = require(\"docpa\")\n\nconst doc = new Docpa(`\u003chtml\u003e...\u003c/html\u003e`)\n\n// Available methods/properties\ndoc.getAttribute\ndoc.hasAttribute\ndoc.querySelector\ndoc.querySelectorAll\ndoc.parentElement\ndoc.prevSibling\ndoc.nextSibling\ndoc.className\ndoc.classList\ndoc.tagName\ndoc.id\ndoc.innerText\ndoc.textContent\ndoc.innerHTML\ndoc.outerHTML\ndoc.children\ndoc.firstChild\ndoc.lastChild\n```\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderosh%2Fdocpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderosh%2Fdocpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderosh%2Fdocpa/lists"}