npm package
Homehast-util-from-dom
hast-util-from-dom is a utility for transforming a DOM tree into a hast (HTML) syntax tree. It is useful when you want to work with hast in browser environments. This package is small and does not provide positional information, which may lead to varying results in different browsers.
- lurq health score
- 49/100
- Confidence
- unproven
- Weekly downloads
- 8,402,083
- Latest version
- 5.0.1
- Last release
- Nov 19, 2024
- License
- ISC
Should you depend on hast-util-from-dom?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks hast-util-from-dom at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading hast-util-from-dom
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 4.2.0 → 5.0.1diff ready
- 3.0.0 → 4.2.0being extracted
- 2.0.5 → 3.0.0being extracted
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- puppeteer94/100 · proven
- puppeteer-core93/100 · proven
- @opentelemetry/sdk-trace92/100 · emerging
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 7, 2026; this page refreshes every 168 hours. Source repository.