unified

Explore/Topic/hast-util

Projects matching hast-util

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

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

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

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

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

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

    utility to transform hast to Parse5’s AST
    1. 80%
    2. 44m
    3. 2
  7. syntax-tree/hast-util-whitespace

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

    utility to serialize hast to HTML
    1. 75%
    2. 44m
    3. 118
  9. syntax-tree/hast-util-is-element

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

    utility to sanitize hast nodes
    1. 74%
    2. 18m
    3. 58
  11. syntax-tree/hast-util-has-property

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

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

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

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

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

    utility to transform hast (HTML) to mdast (markdown)
    1. 70%
    2. 4.3m
    3. 43
  17. syntax-tree/hast-util-from-dom

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

    utility to check if a node is phrasing content
    1. 70%
    2. 6.4m
    3. 0
  19. syntax-tree/hast-util-embedded

    utility to check if a node is an embedded element
    1. 69%
    2. 7m
    3. 3
  20. syntax-tree/hast-util-to-nlcst

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

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

    utility to find and replace text in a hast tree
    1. 68%
    2. 883k
    3. 8
  23. syntax-tree/hast-util-to-dom

    utility to transform hast to a DOM tree
    1. 68%
    2. 955k
    3. 20
  24. syntax-tree/hast-util-from-selector

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

    utility to transform to xast (xml)
    1. 67%
    2. 3.8k
    3. 4
  26. syntax-tree/hast-util-assert

    utility to assert hast nodes
    1. 66%
    2. 99
    3. 1
  27. syntax-tree/hast-util-classnames

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

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

    utility to change heading rank (or depth, level) in hast
    1. 66%
    2. 5.3k
    3. 3
  30. syntax-tree/hast-util-interactive

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

    hast utility to parse from HTML
    1. 65%
    2. 28m
    3. 40
  32. syntax-tree/hast-util-truncate

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

    utility to truncate the tree to a comment
    1. 64%
    2. 76k
    3. 2
  34. joeltg/hast-util-from-lezer

    Render styled Lezer syntax trees to hast
    1. 57%
    2. 111k
    3. 8
  35. Find other projects matching hast-util on GitHub