unified

Explore/Keyword/hast

Packages matching hast

  1. unist-util-visit

    unist utility to visit nodes
    1. 85%
    2. 65m
    3. 347 B
  2. mdast-util-to-hast

    mdast utility to transform to hast
    1. 82%
    2. 29m
    3. 3.81 B
  3. hastscript

    hast utility to create trees
    1. 82%
    2. 24m
    3. 6.68 B
  4. hast-util-parse-selector

    hast utility to create an element from a simple CSS selector
    1. 81%
    2. 23m
    3. 345 B
  5. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 81%
    2. 16m
    3. 7.63 B
  6. hast-util-raw

    hast utility to reparse a tree
    1. 80%
    2. 14m
    3. 54.4 B
  7. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 80%
    2. 14m
    3. 5.72 B
  8. remark-rehype

    remark plugin that turns markdown into HTML to support rehype
    1. 78%
    2. 20m
    3. 3.81 B
  9. hast-util-whitespace

    hast utility to check if a node is inter-element whitespace
    1. 77%
    2. 22m
    3. 229 B
  10. hast-util-to-html

    hast utility to serialize to HTML
    1. 75%
    2. 7.8m
    3. 9.54 B
  11. hast-util-is-element

    hast utility to check if a node is a (certain) element
    1. 75%
    2. 13m
    3. 585 B
  12. hast-util-sanitize

    hast utility to sanitize nodes
    1. 74%
    2. 2.6m
    3. 2.86 B
  13. hast-util-to-string

    hast utility to get the plain-text value of a node
    1. 74%
    2. 11m
    3. 256 B
  14. hast-util-has-property

    hast utility to check if a node has a property
    1. 73%
    2. 3m
    3. 224 B
  15. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 73%
    2. 3.7m
    3. 0.954 B
  16. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 72%
    2. 8.7m
    3. 255 B
  17. rehype-react

    rehype plugin to transform to React
    1. 72%
    2. 515k
    3. 8.58 B
  18. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 72%
    2. 1.5m
    3. 13.4 B
  19. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 72%
    2. 6.2m
    3. 8.58 B
  20. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 71%
    2. 906k
    3. 312 B
  21. hast-util-to-mdast

    hast utility to transform to mdast
    1. 70%
    2. 443k
    3. 7.63 B
  22. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 70%
    2. 1.6m
    3. 6.68 B
  23. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 70%
    2. 890k
    3. 845 B
  24. rehype-katex

    rehype plugin to transform inline and block math with KaTeX
    1. 70%
    2. 1.3m
    3. 127 B
  25. hast-util-is-conditional-comment

    hast utility to check if a node is a conditional comment
    1. 69%
    2. 271k
    3. 225 B
  26. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 69%
    2. 1.2m
  27. rehype-remark

    rehype plugin to transform to remark
    1. 69%
    2. 355k
    3. 7.63 B
  28. rehype-mathjax

    rehype plugin to transform inline and block math with MathJax
    1. 69%
    2. 160k
  29. hast-util-from-string

    hast utility to set the plain-text value of a node
    1. 68%
    2. 92k
    3. 236 B
  30. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 68%
    2. 87k
    3. 451 B
  31. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 68%
    2. 88k
    3. 546 B
  32. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 68%
    2. 89k
    3. 414 B
  33. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 68%
    2. 91k
    3. 1.91 B
  34. rehype-external-links

    rehype plugin to automatically add target and rel attributes to external links
    1. 68%
    2. 7.5m
    3. 0.954 B
  35. hast-util-heading

    hast utility to check if a node is a heading element
    1. 68%
    2. 22k
    3. 485 B
  36. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 68%
    2. 260k
    3. 0.954 B
  37. hast-util-to-dom

    hast utility to transform to the DOM
    1. 68%
    2. 13k
    3. 5.72 B
  38. rehype-retext

    rehype plugin to transform to retext
    1. 67%
    2. 91k
    3. 11.4 B
  39. hast-util-reading-time

    hast utility to estimate the reading time
    1. 67%
    2. 5.2k
    3. 35.3 B
  40. rehype-document

    rehype plugin to wrap a document around a fragment
    1. 67%
    2. 40k
    3. 6.68 B
  41. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 67%
    2. 7.3k
    3. 11.4 B
  42. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 2.7k
    3. 5.72 B
  43. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 41
    3. 544 B
  44. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 66%
    2. 18
    3. 471 B
  45. hast-util-assert

    hast utility to assert nodes
    1. 66%
    2. 77
    3. 755 B
  46. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 12
    3. 257 B
  47. hast-util-classnames

    hast utility to merge class names together
    1. 66%
    2. 225k
    3. 497 B
  48. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 595
    3. 352 B
  49. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 3.5k
    3. 519 B
  50. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 35
    3. 469 B
  51. rehype-meta

    rehype plugin to add metadata to the head of a document
    1. 66%
    2. 1.7k
  52. rehype-picture

    rehype plugin to wrap images in pictures
    1. 65%
    2. 501
    3. 646 B
  53. rehype-infer-reading-time-meta

    rehype plugin to infer reading time as file metadata from the document
    1. 65%
    2. 5k
    3. 48.6 B
  54. unist-util-ancestor

    Unist utility for finding the closest common ancestor for multiple nodes
    1. 65%
    2. 69
    3. 452 B
  55. rehype-shift-heading

    rehype plugin to change the rank (depth, level) of headings
    1. 65%
    2. 3.4k
    3. 544 B
  56. rehype-extract-meta

    Rehype plugin to extract meta data from an HTML document
    1. 65%
    2. 249
    3. 14.3 B
  57. rehype-infer-description-meta

    rehype plugin to infer file metadata from the document
    1. 65%
    2. 52k
    3. 16.2 B
  58. rehype-infer-title-meta

    rehype plugin to infer file metadata from the main title of a document
    1. 65%
    2. 325
    3. 14.3 B
  59. hast-util-interactive

    hast utility to check if a node is interactive
    1. 65%
    2. 8.8k
    3. 388 B
  60. hast-util-from-html

    hast utility to parse from HTML
    1. 65%
    2. 3.7m
    3. 55.3 B
  61. hast-util-truncate

    hast utility to truncate the tree to a certain number of characters
    1. 64%
    2. 52k
    3. 0.954 B
  62. hast-util-excerpt

    hast utility to excerpt the tree to a comment
    1. 64%
    2. 52k
    3. 0.954 B
  63. remark-extract-toc

    remark plugin to store table of contents
    1. 62%
    2. 757
    3. 6.68 B
  64. unified-doc-react

    react wrapper for unified-doc
    1. 61%
    2. 12
    3. 138 B
  65. unified-doc-dom

    DOM APIs for unified-doc
    1. 61%
    2. 11
    3. 17.2 B
  66. unified-doc

    unified document APIs.
    1. 60%
    2. 55
    3. 134 B
  67. hast-util-from-lezer

    Render styled Lezer syntax trees to hast
    1. 57%
    2. 5.6k
    3. 7.63 B
  68. remark-directive-rehype

    Remark plugin to enable Markdown directives to be parsed as HTML.
    1. 49%
    2. 44k
  69. unified-doc-search-micromatch

    unified-doc micromatch search algorithm.
    1. 43%
    2. 33
    3. 11.4 B
  70. unified-doc-types

    unified-doc typescript typings.
    1. 43%
    2. 869
  71. unified-doc-util-text-offsets

    unified-doc hast utility to add text offsets to text nodes.
    1. 43%
    2. 844
    3. 856 B
  72. rehype-shiki

    rehype plugin to highlight code blocks with shiki
    1. 42%
    2. 516
    3. 35.3 B
  73. unified-doc-util-mark

    unified-doc hast util to mark text nodes.
    1. 41%
    2. 863
    3. 5.72 B
  74. unified-doc-parse-csv

    unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)
    1. 41%
    2. 44
    3. 4.77 B
  75. rehype-highlight

    rehype plugin to highlight code blocks with lowlight (highlight.js)
    1. 23%
    2. 568k
    3. 45.8 B
  76. Find other packages matching hast on npm