{"id":15369153,"url":"https://github.com/developit/htmlparser","last_synced_at":"2025-04-15T13:43:18.391Z","repository":{"id":12288170,"uuid":"14914805","full_name":"developit/htmlParser","owner":"developit","description":"Simple JavaScript HTML parser.","archived":false,"fork":false,"pushed_at":"2015-03-10T18:01:14.000Z","size":148,"stargazers_count":31,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T11:16:07.837Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/developit.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":"2013-12-04T05:02:20.000Z","updated_at":"2024-09-17T00:44:13.000Z","dependencies_parsed_at":"2022-08-21T02:40:47.171Z","dependency_job_id":null,"html_url":"https://github.com/developit/htmlParser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2FhtmlParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2FhtmlParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2FhtmlParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developit%2FhtmlParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developit","download_url":"https://codeload.github.com/developit/htmlParser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249082011,"owners_count":21209796,"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":[],"created_at":"2024-10-01T13:34:26.599Z","updated_at":"2025-04-15T13:43:18.372Z","avatar_url":"https://github.com/developit.png","language":"JavaScript","readme":"HTMLParser\n==========\n\nA very simple JavaScript HTML parser.\n\n\n---\n\nUsage\n-----\n\nIt's just a class with a `parse()` method.\n\n```JavaScript\nvar dom = htmlParser.parse('\u003cp class=test\u003e\u003ca href=\"foo.html\"\u003etag\u003cbr soup\u003e!\u003c/\u003e');\n// now throw it at a selector engine*:\n$(dom).query('p.test \u003e a br');\n```\n\n\\* Tested against [puredom](http://puredom.org/)'s [selector engine](http://puredom.org/docs/symbols/puredom.selectorEngine.html) *(which, coincidentally, uses htmlParser to spice up it's docs)*\n\n\n---\n\nLicense\n-------\n\n\u003e The MIT License (MIT)\n\u003e \n\u003e Copyright (c) 2013 Jason Miller\n\u003e \n\u003e Permission is hereby granted, free of charge, to any person obtaining a copy of\n\u003e this software and associated documentation files (the \"Software\"), to deal in\n\u003e the Software without restriction, including without limitation the rights to\n\u003e use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\n\u003e the Software, and to permit persons to whom the Software is furnished to do so,\n\u003e subject to the following conditions:\n\u003e \n\u003e The above copyright notice and this permission notice shall be included in all\n\u003e copies or substantial portions of the Software.\n\u003e \n\u003e THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\u003e IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n\u003e FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\n\u003e COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\n\u003e IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\u003e CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fhtmlparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevelopit%2Fhtmlparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevelopit%2Fhtmlparser/lists"}