unist-util-visit
unist utility to visit nodes- 83%
- 22m
- 742 B
hastscript
hast utility to create trees- 79%
- 15m
- 4.22 kB
mdast-util-to-hast
mdast utility to transform to hast- 77%
- 8m
- 4.2 kB
hast-util-parse-selector
hast utility to create an element from a simple CSS selector- 77%
- 12m
- 322 B
hast-to-hyperscript
hast utility to transform to something else (react, vue, etc) through a hyperscript DSL- 77%
- 7m
- 8.38 kB
hast-util-from-parse5
hast utility to transform from Parse5’s AST- 77%
- 8m
- 8.51 kB
hast-util-raw
hast utility to reparse a tree- 76%
- 7m
- 59.5 kB
hast-util-to-html
hast utility to serialize to HTML- 75%
- 2m
remark-rehype
remark plugin to transform to rehype- 74%
- 509k
- 4.41 kB
hast-util-is-element
hast utility to check if a node is a (certain) element- 74%
- 2m
- 553 B
hast-util-to-parse5
hast utility to transform hast to Parse5’s AST- 74%
- 7m
- 9.16 kB
hast-util-whitespace
hast utility to check if a node is inter-element whitespace- 73%
- 2m
- 240 B
hast-util-sanitize
hast utility to sanitize nodes- 73%
- 680k
- 2.05 kB
rehype-react
rehype plugin to transform to React- 73%
- 154k
- 9.15 kB
hast-util-to-text
hast utility to get the plain-text value of a node according to theinnerText
algorithm- 71%
- 236k
- 1.89 kB
hast-util-to-mdast
hast utility to transform to mdast- 71%
- 143k
- 7.98 kB
hast-util-has-property
hast utility to check if a node has a property- 71%
- 560k
- 245 B
rehype-remark
rehype plugin to transform to remark- 70%
- 136k
- 8.1 kB
hast-util-select
hast utility forquerySelector
,querySelectorAll
, andmatches
- 70%
- 66k
- 13.5 kB
rehype-highlight
rehype plugin to highlight code blocks with lowlight (highlight.js)- 69%
- 64k
- 281 kB
hast-util-embedded
hast utility to check if a node is an embedded element- 69%
- 257k
- 452 B
hast-util-from-dom
hast utility to create a tree from the DOM- 69%
- 26k
- 7.83 kB
rehype-document
rehype plugin to wrap a document around a fragment- 69%
- 10k
- 5.34 kB
rehype-retext
rehype plugin to transform to retext- 69%
- 51k
- 2.27 kB
hast-util-heading-rank
hast utility to get the rank (or depth, level) of headings- 68%
- 26k
- 258 B
hast-util-to-nlcst
hast utility to transform to nlcst- 68%
- 52k
- 2.35 kB
hast-util-phrasing
hast utility to check if a node is phrasing content- 68%
- 80k
- 769 B
hast-util-to-dom
hast utility to transform to the DOM- 68%
- 3k
- 7.09 kB
hast-util-heading
hast utility to check if a node is a heading element- 67%
- 2k
- 433 B
hast-util-find-and-replace
hast utility to find and replace text in a tree- 67%
- 1k
- 1.5 kB
hast-util-classnames
hast utility to merge class names together- 67%
- 7
- 492 B
hast-util-to-xast
hast utility to transform to xast- 66%
- 25
- 7.24 kB
hast-util-to-snabbdom
hast utility to transform to a Snabbdom tree- 66%
- 3
- 6.92 kB
hast-util-from-selector
hast utility to parse CSS selectors to hast nodes- 66%
- 50
- 10.2 kB
hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 66%
- 787
- 9.51 kB
rehype-picture
rehype plugin to wrap images in pictures- 66%
- 36
- 1.14 kB
hast-util-shift-heading
hast utility to change heading rank (or depth, level)- 66%
- 33
- 1.05 kB
hast-util-sectioning
hast utility to check if a node is a sectioning element- 66%
- 12
- 428 B
hast-util-transparent
hast utility to check if a node is a transparent element- 66%
- 14
- 488 B
hast-util-labelable
hast utility to check whether a node is labelable- 66%
- 3
- 260 B
hast-util-assert
hast utility to assert nodes- 66%
- 6
- 1.45 kB
hast-util-from-text
hast utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 7
- 341 B
hast-util-interactive
hast utility to check if a node is interactive- 66%
- 4
- 412 B
hast-util-is-body-ok-link
hast utility to check if a link element is “Body OK”- 66%
- 121k
- 507 B
hast-util-script-supporting
hast utility to check if a node is a script-supporting element- 66%
- 7
- 355 B
rehype-meta
rehype plugin to add metadata to the head of a document- 66%
- 53
- 15.9 kB
hast-util-is-javascript
hast utility to check if an element is a JavaScript script- 65%
- 1k
- 977 B
hast-util-is-css-style
hast utility to check if an element is a css style- 65%
- 3k
- 357 B
hast-util-menu-state
hast utility to get the state of a menu element- 65%
- 5
- 442 B
hast-util-is-css-link
hast utility to check if an element is a css link- 64%
- 1k
unified-doc
unified document APIs.- 62%
- 103
- 144 kB
unified-doc-react
react wrapper for unified-doc- 61%
- 8
- 147 kB
unified-doc-dom
DOM APIs for unified-doc- 60%
- 5
- 18.9 kB
remark-extract-toc
remark plugin to store table of contents- 60%
- 149
- 7.67 kB
rehype-katex
rehype plugin to transform inline and block math with KaTeX- 60%
- 32k
- 135 kB
unified-doc-types
unified-doc typescript typings.- 57%
- 34
rehype-mathjax
rehype plugin to transform inline and block math with MathJax- 56%
- 2k
- 590 kB
unified-doc-util-text-offsets
unified-doc hast utility to add text offsets to text nodes.- 56%
- 35
- 898 B
unified-doc-search-micromatch
unified-doc micromatch search algorithm.- 56%
- 22
- 12.9 kB
unified-doc-util-mark
unified-doc hast util to mark text nodes.- 56%
- 13
- 6.55 kB
unified-doc-parse-csv
unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)- 54%
- 8
- 5.56 kB
rehype-shiki
rehype plugin to highlight code blocks with shiki- 46%
- 8k
- 38.5 kB
Find other packages matching hast on npm