hastscript@9.0.1
// hast utility to create trees
$ npm install hastscript
downloads/wk
27,310,588
license
MIT
version
9.0.1
published
Feb 19, 2025
What is hastscript?
Hastscript is a utility for programmatically creating HTML abstract syntax trees (AST) using a simple JavaScript syntax, similar to hyperscript. Developers use it to generate or manipulate HTML structures in a type-safe way when working with the unified/rehype ecosystem for parsing and transforming markdown and HTML documents.
Links
Keywords
Dependencies (5)
Maintainers
wooorm, kmck