syntax-tree/mdast-util-to-hast
utility to transform mdast to hast- 82%
- 32m
- 105
syntax-tree/hastscript
utility to create hast trees- 82%
- 27m
- 168
syntax-tree/hast-util-parse-selector
utility to create an element from a simple CSS selector- 81%
- 26m
- 13
syntax-tree/hast-util-from-parse5
utility to transform Parse5’s AST to hast- 81%
- 17m
- 16
syntax-tree/hast-util-raw
utility to reparse a hast tree- 80%
- 15m
- 12
syntax-tree/hast-util-to-parse5
utility to transform hast to Parse5’s AST- 80%
- 15m
- 2
remarkjs/remark-rehype
plugin that turns markdown into HTML to support rehype- 78%
- 22m
- 281
syntax-tree/hast-util-whitespace
utility to check if a node is inter-element whitespace- 77%
- 25m
- 4
syntax-tree/hast-util-to-html
utility to serialize hast to HTML- 75%
- 8.9m
- 98
syntax-tree/hast-util-is-element
utility to check if a node is a (certain) element- 75%
- 13m
- 12
syntax-tree/hast-util-sanitize
utility to sanitize hast nodes- 74%
- 2.8m
- 51
syntax-tree/hast-util-has-property
utility to check if a node has a property- 73%
- 3.5m
- 1
syntax-tree/hast-util-to-text
utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 4.5m
- 19
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings- 72%
- 7.2m
- 7
syntax-tree/hast-util-select
utility to addquerySelector
,querySelectorAll
, andmatches
support for hast- 72%
- 1.7m
- 39
syntax-tree/hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 6.8m
- 20
syntax-tree/hast-util-to-mdast
utility to transform hast (HTML) to mdast (markdown)- 70%
- 571k
- 41
syntax-tree/hast-util-from-dom
utility to transform a DOM tree to hast- 70%
- 2.1m
- 22
syntax-tree/hast-util-phrasing
utility to check if a node is phrasing content- 70%
- 1.1m
- 0
syntax-tree/hast-util-embedded
utility to check if a node is an embedded element- 69%
- 1.4m
- 3
rehypejs/rehype-remark
plugin to transform from HTML (rehype) to Markdown (remark)- 69%
- 451k
- 85
syntax-tree/hast-util-to-nlcst
utility to transform hast to nlcst- 68%
- 90k
- 4
syntax-tree/hast-util-heading
utility to check if a node is heading content- 68%
- 27k
- 6
syntax-tree/hast-util-find-and-replace
utility to find and replace text in a hast tree- 68%
- 275k
- 6
syntax-tree/hast-util-to-dom
utility to transform hast to a DOM tree- 68%
- 13k
- 20
rehypejs/rehype-retext
plugin to transform from HTML (rehype) to prose (retext)- 67%
- 89k
- 18
syntax-tree/hast-util-reading-time
utility to estimate the reading time- 67%
- 7.6k
- 56
syntax-tree/hast-util-from-selector
utility to parse CSS selectors to hast nodes- 67%
- 11k
- 2
syntax-tree/hast-util-to-xast
utility to transform to xast (xml)- 67%
- 4.7k
- 4
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element- 66%
- 67
- 1
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element- 66%
- 42
- 2
syntax-tree/hast-util-assert
utility to assert hast nodes- 66%
- 86
- 1
syntax-tree/hast-util-labelable
utility to check whether a node is labelable- 66%
- 45
- 2
syntax-tree/hast-util-classnames
utility to merge class names together- 66%
- 249k
- 2
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 383
- 2
syntax-tree/hast-util-shift-heading
utility to change heading rank (or depth, level) in hast- 66%
- 3.9k
- 3
syntax-tree/hast-util-script-supporting
utility to check if a node is a script-supporting element- 66%
- 64
- 0
rehypejs/rehype-picture
plugin to wrap images in pictures- 65%
- 347
- 13
rehypejs/rehype-infer-reading-time-meta
rehype plugin to infer reading time as file metadata from the document- 65%
- 7.4k
- 11
rehypejs/rehype-shift-heading
plugin to change the rank (depth, level) of headings- 65%
- 3.8k
- 2
gorango/rehype-extract-meta
Extract meta data from an HTML document- 65%
- 167
- 4
rehypejs/rehype-infer-description-meta
rehype plugin to infer file metadata from the contents of the document- 65%
- 55k
- 11
rehypejs/rehype-infer-title-meta
plugin to infer file metadata from the main title of a document- 65%
- 508
- 5
syntax-tree/hast-util-interactive
utility to check if a node is interactive- 65%
- 19k
- 0
syntax-tree/hast-util-from-html
hast utility to parse from HTML- 65%
- 4.4m
- 30
syntax-tree/hast-util-truncate
utility to truncate the tree to a certain number of characters- 64%
- 56k
- 3
syntax-tree/hast-util-excerpt
utility to truncate the tree to a comment- 64%
- 55k
- 2
unified-doc/unified-doc-react
react wrapper for unified-doc- 61%
- 33
- 3
ganta/rehype-element-properties
rehype plugin to replace element properties- 61%
- 12
- 2
unified-doc/unified-doc
unified document APIs- 60%
- 9.9k
- 10
joeltg/hast-util-from-lezer
Render styled Lezer syntax trees to hast- 57%
- 5.7k
- 6
IGassmann/remark-directive-rehype
Remark plugin to enable Markdown directives to be parsed as HTML.- 49%
- 53k
- 31
Find other projects matching hast on GitHub