Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

hastscript

Utility to create and manipulate HAST (HTML AST) syntax trees.

Markdown, editors and contentNPM

GitHubWebsite

1. License

License from npm.

github.com/syntax-tree/hastscript

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What hastscript does

Utility to create and manipulate HAST (HTML AST) syntax trees.

hastscript popularity

49 / 100
Gid Score, #2144 overall
53.7M
downloads a week, npm
200
GitHub stars
1
agent projects use it
hastscript: downloads per weeknpm, hastscript 53,735,258
hastscript: GitHub starssyntax-tree/hastscript 200

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How hastscript is used

  • hastscript joined the catalog on its public numbers (53,735,258 downloads a week on npm and 200 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • Projects that use it most often also use Astro (83.3%), Prettier (66.7%), Astro Icon (50.0%).

Often used with

In 83.3% of its projects
In 66.7% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects

More about hastscript

Funding
  • GitHub Sponsors: https://github.com/unifiedjs
  • Open Collective: https://opencollective.com/unified
  • thanks.dev: https://thanks.dev/u/gh/syntax-tree
  • 25 GitHub sponsors

See all

More in Markdown, editors and content

Alternatives

hastscript This page

MITGid 4953.7M/wk

Compare hastscript with another tool

Get started

Install it.

npm install hastscript

No step-by-step start for hastscript yet: we have not written its hand-checked card.