unist-util-visit
unist utility to visit nodes- 85%
- 60m
- 347 B
mdast-util-to-hast
mdast utility to transform to hast- 82%
- 26m
- 4.78 kB
hastscript
hast utility to create trees- 82%
- 22m
- 7.04 kB
hast-util-parse-selector
hast utility to create an element from a simple CSS selector- 81%
- 21m
hast-util-from-parse5
hast utility to transform from Parse5’s AST- 81%
- 15m
- 8.11 kB
hast-util-raw
hast utility to reparse a tree- 80%
- 14m
- 58.5 kB
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 80%
- 14m
- 6.74 kB
remark-rehype
remark plugin that turns markdown into HTML to support rehype- 78%
- 17m
- 4.81 kB
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 77%
- 16m
- 229 B
hast-util-to-html
hast utility to serialize to HTML- 75%
- 4.4m
- 10.9 kB
hast-util-is-element
hast utility to check if a node is a (certain) element- 75%
- 12m
- 585 B
hast-util-sanitize
hast utility to sanitize nodes- 74%
- 2.4m
- 3.13 kB
hast-util-to-string
hast utility to get the plain-text value of a node- 74%
- 10m
- 256 B
hast-util-has-property
hast utility to check if a node has a property- 73%
- 2.2m
- 224 B
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 2.7m
- 1.81 kB
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 72%
- 8.5m
- 255 B
rehype-react
rehype plugin to transform to React- 72%
- 542k
- 8.78 kB
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 72%
- 1m
- 13.9 kB
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 4.9m
- 9.86 kB
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 71%
- 565k
- 312 B
hast-util-to-mdast
hast utility to transform to mdast- 70%
- 266k
- 8.7 kB
hast-util-from-dom
hast utility to create a tree from the DOM- 70%
- 1.2m
- 7.34 kB
hast-util-phrasing
hast utility to check if a node is phrasing content- 70%
- 554k
- 845 B
rehype-katex
rehype plugin to transform inline and block math with KaTeX- 70%
- 1.1m
- 135 kB
hast-util-is-conditional-comment
hast utility to check if a node is a conditional comment- 69%
- 93k
- 225 B
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 897k
- 500 B
rehype-remark
rehype plugin to transform to remark- 69%
- 242k
- 8.7 kB
rehype-mathjax
rehype plugin to transform inline and block math with MathJax- 69%
- 140k
hast-util-from-string
hast utility to set the plain-text value of a node- 68%
- 48k
- 236 B
hast-util-is-css-link
hast utility to check if an element is a css link- 68%
- 44k
- 451 B
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 68%
- 44k
- 546 B
hast-util-is-css-style
hast utility to check if an element is a css style- 68%
- 45k
- 414 B
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 69k
- 2.61 kB
rehype-external-links
rehype plugin to automatically addtarget
andrel
attributes to external links- 68%
- 7.7m
- 1.89 kB
hast-util-heading
hast utility to check if a node is a heading element- 68%
- 7.8k
- 485 B
hast-util-find-and-replace
hast utility to find and replace text in a tree- 68%
- 286k
- 1.07 kB
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 23k
- 6.45 kB
rehype-retext
rehype plugin to transform to retext- 67%
- 69k
hast-util-reading-time
hast utility to estimate the reading time- 67%
- 864
- 37.5 kB
rehype-document
rehype plugin to wrap a document around a fragment- 67%
- 35k
- 7.44 kB
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 67%
- 4.4k
- 11.5 kB
hast-util-to-xast
hast utility to transform to xast- 67%
- 2.7k
- 6.73 kB
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 60
- 544 B
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 40
- 471 B
hast-util-assert
hast utility to assert nodes- 66%
- 61
- 755 B
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 32
- 257 B
hast-util-classnames
hast utility to merge class names together- 66%
- 147k
- 497 B
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 490
- 352 B
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 1.1k
- 519 B
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 42
- 469 B
rehype-meta
rehype plugin to add metadata to the head of a document- 66%
- 1.3k
- 19.8 kB
rehype-picture
rehype plugin to wrap images in pictures- 65%
- 358
- 646 B
rehype-infer-reading-time-meta
rehype plugin to infer reading time as file metadata from the document- 65%
- 744
- 51 kB
unist-util-ancestor
Unist utility for finding the closest common ancestor for multiple nodes- 65%
- 73
- 452 B
rehype-shift-heading
rehype plugin to change the rank (depth, level) of headings- 65%
- 1.1k
- 544 B
rehype-extract-meta
Rehype plugin to extract meta data from an HTML document- 65%
- 699
- 15 kB
rehype-infer-description-meta
rehype plugin to infer file metadata from the document- 65%
- 46k
- 17.2 kB
rehype-infer-title-meta
rehype plugin to infer file metadata from the main title of a document- 65%
- 271
- 15.4 kB
hast-util-interactive
hast utility to check if a node is interactive- 65%
- 35
- 388 B
hast-util-from-html
hast utility to parse from HTML- 65%
- 2.4m
- 57.9 kB
hast-util-truncate
hast utility to truncate the tree to a certain number of characters- 64%
- 46k
- 1.51 kB
hast-util-excerpt
hast utility to excerpt the tree to a comment- 64%
- 46k
- 1.72 kB
remark-extract-toc
remark plugin to store table of contents- 62%
- 935
- 7.49 kB
unified-doc-react
react wrapper for unified-doc- 61%
- 11
- 144 kB
unified-doc-dom
DOM APIs for unified-doc- 61%
- 13
- 18.7 kB
unified-doc
unified document APIs.- 60%
- 37
- 141 kB
hast-util-from-lezer
Render styled Lezer syntax trees to hast- 57%
- 5.1k
- 7.64 kB
remark-directive-rehype
Remark plugin to enable Markdown directives to be parsed as HTML.- 49%
- 30k
unified-doc-search-micromatch
unified-doc micromatch search algorithm.- 43%
- 18
- 12.6 kB
unified-doc-types
unified-doc typescript typings.- 43%
- 120
unified-doc-util-text-offsets
unified-doc hast utility to add text offsets to text nodes.- 43%
- 121
- 856 B
rehype-shiki
rehype plugin to highlight code blocks with shiki- 42%
- 5.6k
- 37.6 kB
unified-doc-util-mark
unified-doc hast util to mark text nodes.- 41%
- 109
- 6.4 kB
unified-doc-parse-csv
unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)- 41%
- 5
- 5.44 kB
rehype-highlight
rehype plugin to highlight code blocks with lowlight (highlight.js)- 23%
- 495k
- 48.6 kB
Find other packages matching hast on npm