hast-util-to-parse5
hast utility to transform to a `parse5` AST
Found 65 results for hast-util
hast utility to transform to a `parse5` AST
hast utility to create an element from a simple CSS selector
mdast utility to transform to hast
hast utility to check if a node is inter-element whitespace
hast utility to reparse a tree
Transform HAST to Babel AST (JSX)
hast utility to create trees
hast utility to transform from a `parse5` AST
hast utility to get the plain-text value of a node
hast utility to check if a node is a (certain) element
hast utility to serialize to HTML
hast utility to parse from HTML
hast utility to transform to preact, react, solid, svelte, vue, etc
hast utility to transform to estree (JavaScript AST) JSX
hast utility to get the rank (or depth, level) of headings
hast utility to check if a node has a property
hast utility to get the plain-text value of a node according to the `innerText` algorithm
hast utility to create a tree from the DOM
hast utility to sanitize nodes
hast utility that turns HTML into a syntax tree (while being small in browsers)
hast utility for `querySelector`, `querySelectorAll`, and `matches`
hast utility to check if a node is an embedded element
hast utility to check if a node is phrasing content
hast utility to transform to mdast
hast utility to check if a link element is “Body OK”
hast utility to get the plain-text value of a node
hast utility to find and replace text in a tree
hast utility to check if a node is a conditional comment
hast utility to merge class names together
hast utility to check if a property is an event handler
hast utility to transform to nlcst
hast utility to check if an element is a JavaScript script
hast utility to check if an element is a css link
hast utility to set the plain-text value of a node
hast utility to check if an element is a css style
Render styled Lezer syntax trees to hast
hast utility to excerpt the tree to a comment
hast utility to check if a node is interactive
hast utility to truncate the tree to a certain number of characters
hast utility to check if a node is a heading element
hast utility to transform to the DOM
hast-util-to-mdast handlers for definition list
hast utility to parse CSS selectors to hast nodes
hast utility to transform to xast
hast utility to estimate the reading time
hast utility to change heading rank (or depth, level)
hast utility to set the plain-text value of a node according to the `innerText` algorithm
Simulate the browser's classList API for HAST nodes
hast utility to check if a node is a transparent element
hast utility to assert nodes
hast utility to check if a node is a script-supporting element
rehype plugin to add ids to headings and output.
hast utility to check whether a node is labelable
hast utility to transform to be used by TipTap renderHTML
hast utility to check if a node is a sectioning element
A fork of the original hast utility to transform from Parse5’s AST
Transform HAST to Babel AST (JSX)
hast utility to create trees
Render styled Lezer syntax trees to hast
mdast utility to transform to hast
hast utility to transform to mdast
hast utility to find and replace text in a tree
hast utility to create trees
A fork of the original hast utility that serializes an AST to HTML
mdast utility to transform to hast