unified

Explore/Keyword/hast

Packages matching hast

  1. unist-util-visit

    unist utility to visit nodes
    1. 83%
    2. 14m
    3. 742 B
  2. hastscript

    hast utility to create trees
    1. 79%
    2. 9m
    3. 4.22 kB
  3. hast-util-parse-selector

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

    mdast utility to transform to hast
    1. 77%
    2. 3m
    3. 4.26 kB
  5. hast-to-hyperscript

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

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

    hast utility to serialize to HTML
    1. 74%
    2. 948k
    3. 12.1 kB
  8. hast-util-is-element

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

    hast utility to transform hast to Parse5’s AST
    1. 73%
    2. 3m
    3. 9.15 kB
  10. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 73%
    2. 4m
    3. 8.41 kB
  11. hast-util-whitespace

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

    hast utility to sanitize nodes
    1. 72%
    2. 392k
    3. 2.14 kB
  13. hast-util-has-property

    hast utility to check if a node has a property
    1. 72%
    2. 394k
    3. 245 B
  14. rehype-react

    rehype plugin to transform to React
    1. 72%
    2. 50k
    3. 9.13 kB
  15. remark-rehype

    remark plugin to transform to rehype
    1. 72%
    2. 195k
    3. 4.33 kB
  16. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 71%
    2. 212k
    3. 395 B
  17. rehype-retext

    rehype plugin to transform to retext
    1. 70%
    2. 70k
    3. 2.27 kB
  18. rehype-remark

    rehype plugin to transform to remark
    1. 70%
    2. 116k
    3. 8.1 kB
  19. hast-util-to-mdast

    hast utility to transform to mdast
    1. 70%
    2. 120k
    3. 8.01 kB
  20. hast-util-phrasing

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

    hast utility to transform to nlcst
    1. 69%
    2. 70k
    3. 2.2 kB
  22. rehype-highlight

    rehype plugin to highlight code blocks with lowlight (highlight.js)
    1. 69%
    2. 21k
    3. 259 kB
  23. hast-util-to-text

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

    hast utility for querySelector, querySelectorAll, and matches
    1. 69%
    2. 6k
    3. 13.4 kB
  25. rehype-document

    rehype plugin to wrap a document around a fragment
    1. 67%
    2. 6k
    3. 5.33 kB
  26. hast-util-heading

    hast utility to check if a node is a heading element
    1. 67%
    2. 926
    3. 371 B
  27. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 67%
    2. 856
    3. 7.82 kB
  28. hast-util-to-dom

    hast utility to transform to the DOM
    1. 67%
    2. 504
    3. 7.08 kB
  29. hast-util-to-snabbdom

    hast utility to transform to a Snabbdom tree
    1. 67%
    2. 71
    3. 6.92 kB
  30. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 66%
    2. 69
    3. 10.1 kB
  31. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 66%
    2. 354
    3. 1.39 kB
  32. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 66%
    2. 81
    3. 258 B
  33. hast-util-transparent

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

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

    hast utility to merge class names together
    1. 66%
    2. 55
    3. 537 B
  36. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 66%
    2. 60
    3. 368 B
  37. hast-util-shift-heading

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

    hast utility to transform to xast
    1. 66%
    2. 57
    3. 7.24 kB
  39. hast-util-from-text

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

    hast utility to assert nodes
    1. 66%
    2. 34
    3. 1.45 kB
  41. hast-util-interactive

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

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 58
    3. 355 B
  43. rehype-picture

    rehype plugin to wrap images in pictures
    1. 65%
    2. 77
    3. 1.14 kB
  44. rehype-meta

    rehype plugin to add metadata to the head of a document
    1. 65%
    2. 76
    3. 15.9 kB
  45. hast-util-menu-state

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

    hast utility to check if a link element is “Body OK”
    1. 58%
    2. 208k
    3. 507 B
  47. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 55%
    2. 1k
    3. 320 B
  48. hast-util-is-javascript

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

    hast utility to check if an element is a css style
    1. 55%
    2. 1k
    3. 285 B
  50. rehype-shiki

    rehype plugin to highlight code blocks with shiki
    1. 51%
    2. 463
    3. 38.3 kB
  51. rehype-katex

    rehype plugin to transform inline and block math with KaTeX
    1. 47%
    2. 5k
    3. 133 kB
  52. Find other packages matching hast on npm