npm package
Homehastscript
hastscript is a utility for creating hast trees, simplifying the process of generating syntax trees in JavaScript. It is particularly useful when you need to create complex HTML structures programmatically, reducing repetitive code. This package serves as a hyperscript interface similar to React's createElement.
- lurq health score
- 54/100
- Confidence
- unproven
- Weekly downloads
- 31,490,904
- Latest version
- 9.0.1
- Last release
- Feb 19, 2025
- License
- MIT
Should you depend on hastscript?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks hastscript 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 hastscript
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 8.0.0 → 9.0.1diff ready
- 7.2.0 → 8.0.0diff ready
- 6.0.0 → 7.2.0diff ready
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 4, 2026; this page refreshes every 168 hours. Source repository.