{"library":"node-html-better-parser","type":"library","category":null,"description":"Node HTML Better Parser is a high-performance HTML parser for Node.js and TypeScript, currently at version 1.5.8 and last published 6 months ago. It serves as a fork of `fast-html-parser`, prioritizing speed to process large HTML files efficiently. It generates a simplified Document Object Model (DOM) and includes basic element query support. A key differentiator of this fork is its focus on providing a simpler API for editing HTML and its attributes, which was a primary motivation for its creation. While highly optimized for performance, it may not correctly parse all malformed HTML, though it handles common errors like missing closing tags for `<li>` or `<td>`. The library offers configurable options to retrieve content from `<script>`, `<style>`, `<pre>`, and comments, but users should note these options can slightly impact parsing performance.","language":"javascript","status":"active","version":"1.5.8","tags":["javascript","fast html parser nodejs typescript","typescript"],"install":[{"cmd":"npm install node-html-better-parser","imports":["import { parse } from 'node-html-better-parser';","const HTMLParser = require('node-html-better-parser');\n// then use HTMLParser.parse(data)","import { HTMLElement } from 'node-html-better-parser';"]},{"cmd":"yarn add node-html-better-parser","imports":[]},{"cmd":"pnpm add node-html-better-parser","imports":[]}],"homepage":null,"github":"https://github.com/Sharcoux/node-html-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-html-better-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-html-better-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}