unified

Explore/Keyword/hast-util

Packages matching hast-util

  1. hastscript

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

    mdast utility to transform to hast
    1. 78%
    2. 5m
    3. 4.17 kB
  3. hast-util-parse-selector

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

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

    hast utility to reparse a tree
    1. 76%
    2. 5m
    3. 59.6 kB
  6. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 76%
    2. 6m
    3. 8.42 kB
  7. hast-util-to-html

    hast utility to serialize to HTML
    1. 75%
    2. 1m
    3. 12.1 kB
  8. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 74%
    2. 5m
    3. 9.16 kB
  9. hast-util-is-element

    hast utility to check if a node is a (certain) element
    1. 74%
    2. 1m
    3. 553 B
  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. 579k
    3. 2.13 kB
  12. hast-util-has-property

    hast utility to check if a node has a property
    1. 72%
    2. 475k
    3. 245 B
  13. hast-util-to-mdast

    hast utility to transform to mdast
    1. 71%
    2. 162k
    3. 8.01 kB
  14. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 71%
    2. 247k
    3. 395 B
  15. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 71%
    2. 168k
    3. 2.12 kB
  16. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 69%
    2. 24k
    3. 13.4 kB
  17. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 69%
    2. 70k
    3. 769 B
  18. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 69%
    2. 57k
    3. 2.2 kB
  19. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 68%
    2. 4k
    3. 7.83 kB
  20. hast-util-heading

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

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

    hast utility to transform to the DOM
    1. 67%
    2. 1k
    3. 7.09 kB
  23. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 67%
    2. 169k
    3. 507 B
  24. hast-util-classnames

    hast utility to merge class names together
    1. 66%
    2. 32
    3. 537 B
  25. hast-util-to-snabbdom

    hast utility to transform to a Snabbdom tree
    1. 66%
    2. 36
    3. 6.92 kB
  26. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 66%
    2. 155
    3. 258 B
  27. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 66%
    2. 39
    3. 10.1 kB
  28. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 35
    3. 429 B
  29. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 35
    3. 260 B
  30. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 31
    3. 916 B
  31. hast-util-assert

    hast utility to assert nodes
    1. 66%
    2. 54
    3. 1.45 kB
  32. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 66%
    2. 37
    3. 368 B
  33. hast-util-from-text

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

    hast utility to check if a node is interactive
    1. 66%
    2. 38
    3. 412 B
  35. hast-util-to-xast

    hast utility to transform to xast
    1. 66%
    2. 47
    3. 7.24 kB
  36. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 34
    3. 355 B
  37. hast-util-menu-state

    hast utility to get the state of a menu element
    1. 65%
    2. 42
    3. 442 B
  38. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 64%
    2. 1k
    3. 670 B
  39. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 64%
    2. 1k
    3. 285 B
  40. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 64%
    2. 1k
    3. 320 B
  41. Find other packages matching hast-util on npm