unified

Explore/Keyword/hast-util

Packages matching hast-util

  1. mdast-util-to-hast

    mdast utility to transform to hast
    1. 82%
    2. 29m
    3. 4.78 kB
  2. hastscript

    hast utility to create trees
    1. 82%
    2. 24m
    3. 7.06 kB
  3. hast-util-parse-selector

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

    hast utility to transform from Parse5’s AST
    1. 81%
    2. 16m
    3. 8.26 kB
  5. hast-util-raw

    hast utility to reparse a tree
    1. 80%
    2. 14m
    3. 57.8 kB
  6. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 80%
    2. 14m
    3. 6.83 kB
  7. hast-util-whitespace

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

    hast utility to serialize to HTML
    1. 75%
    2. 7.2m
    3. 10.9 kB
  9. hast-util-is-element

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

    hast utility to sanitize nodes
    1. 74%
    2. 2.6m
    3. 3.13 kB
  11. hast-util-to-string

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

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

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 73%
    2. 3.5m
  14. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 72%
    2. 11m
  15. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 72%
    2. 1.4m
    3. 14.4 kB
  16. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 72%
    2. 6.1m
  17. hast-util-is-body-ok-link

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

    hast utility to transform to mdast
    1. 70%
    2. 410k
  19. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 70%
    2. 1.6m
  20. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 70%
    2. 839k
    3. 845 B
  21. hast-util-is-conditional-comment

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

    hast utility to check if a node is an embedded element
    1. 69%
    2. 1.1m
    3. 500 B
  23. hast-util-from-string

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

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

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

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

    hast utility to transform to nlcst
    1. 68%
    2. 103k
    3. 2.42 kB
  28. hast-util-heading

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

    hast utility to find and replace text in a tree
    1. 68%
    2. 256k
    3. 1.07 kB
  30. hast-util-to-dom

    hast utility to transform to the DOM
    1. 68%
    2. 20k
    3. 6.54 kB
  31. hast-util-reading-time

    hast utility to estimate the reading time
    1. 67%
    2. 4.1k
  32. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 67%
    2. 6.2k
  33. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 5.1k
    3. 6.81 kB
  34. hast-util-transparent

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

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

    hast utility to assert nodes
    1. 66%
    2. 48
  37. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 11
  38. hast-util-classnames

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

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

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

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 32
    3. 469 B
  42. hast-util-interactive

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

    hast utility to parse from HTML
    1. 65%
    2. 3.4m
  44. hast-util-truncate

    hast utility to truncate the tree to a certain number of characters
    1. 64%
    2. 56k
    3. 1.5 kB
  45. hast-util-excerpt

    hast utility to excerpt the tree to a comment
    1. 64%
    2. 55k
    3. 1.71 kB
  46. hast-util-from-lezer

    Render styled Lezer syntax trees to hast
    1. 57%
    2. 6.2k
  47. Find other packages matching hast-util on npm