{"library":"html-dom-parser","type":"library","category":null,"description":"html-dom-parser is a versatile JavaScript library designed to convert HTML strings into a structured JavaScript object representation of the Document Object Model (DOM) tree. It operates effectively in both Node.js environments (leveraging `htmlparser2` and `domhandler` internally for performance) and client-side browser contexts (mimicking server parsing behavior using the native DOM API). Currently at version 7.0.1, the library maintains a relatively active release cadence, with multiple updates in recent months addressing bug fixes and dependency bumps. Its key differentiator lies in providing a consistent, serializable DOM-like output (Plain Old JavaScript Objects) across different JavaScript environments, making it suitable for server-side HTML manipulation, client-side virtual DOM implementations, or data extraction where direct DOM access might be unavailable or inefficient.","language":"javascript","status":"active","version":"7.0.1","tags":["javascript","html-dom-parser","html","dom","parser","htmlparser2","pojo","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install html-dom-parser","imports":["import parse from 'html-dom-parser';","const parse = require('html-dom-parser').default;","import type { ParserOptions } from 'html-dom-parser';"]},{"cmd":"yarn add html-dom-parser","imports":[]},{"cmd":"pnpm add html-dom-parser","imports":[]}],"homepage":null,"github":"https://github.com/remarkablemark/html-dom-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/html-dom-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/html-dom-parser/compatibility"}}