unified

Explore/Keyword/hast-util

Packages matching hast-util

  1. hastscript

    hast utility to create trees
    1. 79%
    2. 14m
    3. 4.22 kB
  2. mdast-util-to-hast

    mdast utility to transform to hast
    1. 77%
    2. 7m
    3. 4.2 kB
  3. hast-util-parse-selector

    hast utility to create an element from a simple CSS selector
    1. 77%
    2. 11m
    3. 322 B
  4. hast-to-hyperscript

    hast utility to transform to something else (react, vue, etc) through a hyperscript DSL
    1. 77%
    2. 6m
    3. 8.38 kB
  5. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 77%
    2. 8m
    3. 8.51 kB
  6. hast-util-raw

    hast utility to reparse a tree
    1. 76%
    2. 6m
    3. 59.5 kB
  7. hast-util-to-html

    hast utility to serialize to HTML
    1. 75%
    2. 2m
    3. 11.9 kB
  8. hast-util-is-element

    hast utility to check if a node is a (certain) element
    1. 74%
    2. 2m
    3. 553 B
  9. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 74%
    2. 6m
  10. hast-util-whitespace

    hast utility to check if a node is inter-element whitespace
    1. 73%
    2. 1m
    3. 240 B
  11. hast-util-sanitize

    hast utility to sanitize nodes
    1. 73%
    2. 653k
    3. 2.05 kB
  12. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 71%
    2. 230k
    3. 1.89 kB
  13. hast-util-to-mdast

    hast utility to transform to mdast
    1. 71%
    2. 140k
  14. hast-util-has-property

    hast utility to check if a node has a property
    1. 71%
    2. 542k
  15. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 70%
    2. 70k
    3. 13.5 kB
  16. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 69%
    2. 255k
    3. 452 B
  17. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 69%
    2. 23k
    3. 7.83 kB
  18. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 68%
    2. 26k
    3. 258 B
  19. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 68%
    2. 50k
    3. 2.35 kB
  20. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 68%
    2. 80k
  21. hast-util-to-dom

    hast utility to transform to the DOM
    1. 68%
    2. 2k
    3. 7.09 kB
  22. hast-util-heading

    hast utility to check if a node is a heading element
    1. 67%
    2. 2k
    3. 433 B
  23. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 67%
    2. 1k
    3. 1.5 kB
  24. hast-util-classnames

    hast utility to merge class names together
    1. 67%
    2. 7
    3. 492 B
  25. hast-util-to-xast

    hast utility to transform to xast
    1. 66%
    2. 14
    3. 7.24 kB
  26. hast-util-to-snabbdom

    hast utility to transform to a Snabbdom tree
    1. 66%
    2. 3
    3. 6.92 kB
  27. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 66%
    2. 51
    3. 10.2 kB
  28. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 66%
    2. 906
    3. 9.51 kB
  29. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 40
    3. 1.05 kB
  30. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 66%
    2. 12
    3. 428 B
  31. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 14
    3. 488 B
  32. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 3
    3. 260 B
  33. hast-util-assert

    hast utility to assert nodes
    1. 66%
    2. 8
    3. 1.45 kB
  34. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 7
    3. 341 B
  35. hast-util-interactive

    hast utility to check if a node is interactive
    1. 66%
    2. 4
    3. 412 B
  36. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 8
  37. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 65%
    2. 1k
  38. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 65%
    2. 4k
  39. hast-util-menu-state

    hast utility to get the state of a menu element
    1. 65%
    2. 5
    3. 442 B
  40. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 57%
    2. 119k
  41. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 55%
    2. 1k
  42. Find other packages matching hast-util on npm