npm package
Homehast-util-to-text
hast-util-to-text is a utility for extracting the plain-text value of a hast node, mimicking the DOM's innerText behavior. It is useful when you need a text representation that reflects how content is visible to users, including handling line breaks and tabs. This package is ideal for applications that require text extraction from HTML-like structures.
- lurq health score
- 48/100
- Confidence
- unproven
- Weekly downloads
- 14,239,833
- Latest version
- 4.0.2
- Last release
- Apr 16, 2024
- License
- MIT
Should you depend on hast-util-to-text?
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-to-text 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
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 2, 2026; this page refreshes every 24 hours. Source repository.