unified

Explore/Topic/hast

Projects matching hast

  1. syntax-tree/mdast-util-to-hast

    utility to transform mdast to hast
    1. 82%
    2. 29m
    3. 105
  2. syntax-tree/hastscript

    utility to create hast trees
    1. 82%
    2. 24m
    3. 165
  3. syntax-tree/hast-util-parse-selector

    utility to create an element from a simple CSS selector
    1. 81%
    2. 23m
    3. 13
  4. syntax-tree/hast-util-from-parse5

    utility to transform Parse5’s AST to hast
    1. 81%
    2. 16m
    3. 16
  5. syntax-tree/hast-util-raw

    utility to reparse a hast tree
    1. 80%
    2. 14m
    3. 11
  6. syntax-tree/hast-util-to-parse5

    utility to transform hast to Parse5’s AST
    1. 80%
    2. 14m
    3. 2
  7. remarkjs/remark-rehype

    plugin that turns markdown into HTML to support rehype
    1. 78%
    2. 20m
    3. 275
  8. syntax-tree/hast-util-whitespace

    utility to check if a node is inter-element whitespace
    1. 77%
    2. 22m
    3. 4
  9. syntax-tree/hast-util-to-html

    utility to serialize hast to HTML
    1. 75%
    2. 7.8m
    3. 93
  10. syntax-tree/hast-util-is-element

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

    utility to sanitize hast nodes
    1. 74%
    2. 2.6m
    3. 50
  12. syntax-tree/hast-util-has-property

    utility to check if a node has a property
    1. 73%
    2. 3m
    3. 1
  13. syntax-tree/hast-util-to-text

    utility to get the plain-text value of a node according to the innerText algorithm
    1. 73%
    2. 3.7m
    3. 19
  14. syntax-tree/hast-util-heading-rank

    utility to get the rank (or depth, level) of headings
    1. 72%
    2. 8.7m
    3. 7
  15. syntax-tree/hast-util-select

    utility to add querySelector, querySelectorAll, and matches support for hast
    1. 72%
    2. 1.5m
    3. 38
  16. syntax-tree/hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 72%
    2. 6.2m
    3. 20
  17. syntax-tree/hast-util-to-mdast

    utility to transform hast (HTML) to mdast (markdown)
    1. 70%
    2. 443k
    3. 38
  18. syntax-tree/hast-util-from-dom

    utility to transform a DOM tree to hast
    1. 70%
    2. 1.6m
    3. 22
  19. syntax-tree/hast-util-phrasing

    utility to check if a node is phrasing content
    1. 70%
    2. 890k
    3. 0
  20. syntax-tree/hast-util-embedded

    utility to check if a node is an embedded element
    1. 69%
    2. 1.2m
    3. 3
  21. rehypejs/rehype-remark

    plugin to transform from HTML (rehype) to Markdown (remark)
    1. 69%
    2. 355k
    3. 82
  22. syntax-tree/hast-util-to-nlcst

    utility to transform hast to nlcst
    1. 68%
    2. 91k
    3. 4
  23. syntax-tree/hast-util-heading

    utility to check if a node is heading content
    1. 68%
    2. 22k
    3. 6
  24. syntax-tree/hast-util-find-and-replace

    utility to find and replace text in a hast tree
    1. 68%
    2. 260k
    3. 6
  25. syntax-tree/hast-util-to-dom

    utility to transform hast to a DOM tree
    1. 68%
    2. 13k
    3. 19
  26. rehypejs/rehype-retext

    plugin to transform from HTML (rehype) to prose (retext)
    1. 67%
    2. 91k
    3. 17
  27. syntax-tree/hast-util-reading-time

    utility to estimate the reading time
    1. 67%
    2. 5.2k
    3. 56
  28. syntax-tree/hast-util-from-selector

    utility to parse CSS selectors to hast nodes
    1. 67%
    2. 7.3k
    3. 2
  29. syntax-tree/hast-util-to-xast

    utility to transform to xast (xml)
    1. 67%
    2. 2.7k
    3. 4
  30. syntax-tree/hast-util-transparent

    utility to check if a node is a transparent element
    1. 66%
    2. 41
    3. 1
  31. syntax-tree/hast-util-sectioning

    utility to check if a node is a sectioning element
    1. 66%
    2. 18
    3. 2
  32. syntax-tree/hast-util-assert

    utility to assert hast nodes
    1. 66%
    2. 77
    3. 1
  33. syntax-tree/hast-util-labelable

    utility to check whether a node is labelable
    1. 66%
    2. 12
    3. 2
  34. syntax-tree/hast-util-classnames

    utility to merge class names together
    1. 66%
    2. 225k
    3. 2
  35. syntax-tree/hast-util-from-text

    utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 595
    3. 2
  36. syntax-tree/hast-util-shift-heading

    utility to change heading rank (or depth, level) in hast
    1. 66%
    2. 3.5k
    3. 2
  37. syntax-tree/hast-util-script-supporting

    utility to check if a node is a script-supporting element
    1. 66%
    2. 35
    3. 0
  38. rehypejs/rehype-picture

    plugin to wrap images in pictures
    1. 65%
    2. 501
    3. 12
  39. rehypejs/rehype-infer-reading-time-meta

    rehype plugin to infer reading time as file metadata from the document
    1. 65%
    2. 5k
    3. 11
  40. rehypejs/rehype-shift-heading

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

    Extract meta data from an HTML document
    1. 65%
    2. 249
    3. 3
  42. rehypejs/rehype-infer-description-meta

    rehype plugin to infer file metadata from the contents of the document
    1. 65%
    2. 52k
    3. 11
  43. rehypejs/rehype-infer-title-meta

    plugin to infer file metadata from the main title of a document
    1. 65%
    2. 325
    3. 5
  44. syntax-tree/hast-util-interactive

    utility to check if a node is interactive
    1. 65%
    2. 8.8k
    3. 0
  45. syntax-tree/hast-util-from-html

    hast utility to parse from HTML
    1. 65%
    2. 3.7m
    3. 29
  46. syntax-tree/hast-util-truncate

    utility to truncate the tree to a certain number of characters
    1. 64%
    2. 52k
    3. 3
  47. syntax-tree/hast-util-excerpt

    utility to truncate the tree to a comment
    1. 64%
    2. 52k
    3. 2
  48. unified-doc/unified-doc-react

    react wrapper for unified-doc
    1. 61%
    2. 12
    3. 3
  49. ganta/rehype-element-properties

    rehype plugin to replace element properties
    1. 61%
    2. 1
    3. 2
  50. unified-doc/unified-doc

    unified document APIs
    1. 60%
    2. 2.7k
    3. 10
  51. joeltg/hast-util-from-lezer

    Render styled Lezer syntax trees to hast
    1. 57%
    2. 5.6k
    3. 5
  52. IGassmann/remark-directive-rehype

    Remark plugin to enable Markdown directives to be parsed as HTML.
    1. 49%
    2. 44k
    3. 31
  53. Find other projects matching hast on GitHub