unified

Explore/Keyword/hast

Packages matching hast

  1. unist-util-visit

    unist utility to visit nodes
    1. 82%
    2. 12m
    3. 742 B
  2. hastscript

    Hyperscript compatible DSL for creating virtual hast trees
    1. 77%
    2. 7m
    3. 4.2 kB
  3. hast-util-parse-selector

    Parse a simple CSS selector to a HAST node
    1. 76%
    2. 7m
    3. 327 B
  4. mdast-util-to-hast

    Transform mdast to hast
    1. 76%
    2. 2m
    3. 4.21 kB
  5. hast-util-raw

    Reparse a hast tree
    1. 74%
    2. 2m
    3. 59 kB
  6. hast-util-to-html

    Transform hast to HTML
    1. 74%
    2. 840k
    3. 12 kB
  7. hast-util-is-element

    Check if a node is a (certain) element
    1. 74%
    2. 963k
    3. 319 B
  8. hast-util-to-parse5

    Transform hast to Parse5’s AST
    1. 74%
    2. 2m
    3. 8.93 kB
  9. hast-to-hyperscript

    Transform HAST to something else through a hyperscript DSL
    1. 73%
    2. 2m
    3. 8.49 kB
  10. hast-util-from-parse5

    Transform Parse5’s AST to hast
    1. 73%
    2. 3m
    3. 8.4 kB
  11. hast-util-whitespace

    Check whether a node is inter-element whitespace
    1. 72%
    2. 829k
    3. 240 B
  12. hast-util-sanitize

    Sanitize hast nodes
    1. 72%
    2. 363k
    3. 2.13 kB
  13. rehype-react

    rehype plugin to transform to React
    1. 72%
    2. 45k
    3. 7.9 kB
  14. hast-util-has-property

    Check if a node has a property
    1. 72%
    2. 346k
    3. 245 B
  15. remark-rehype

    remark plugin to transform to rehype
    1. 71%
    2. 154k
    3. 4.7 kB
  16. hast-util-embedded

    Check if a node is a embedded element
    1. 71%
    2. 191k
    3. 395 B
  17. rehype-remark

    rehype plugin to transform to remark
    1. 71%
    2. 98k
    3. 7.8 kB
  18. rehype-retext

    rehype plugin to transform to retext
    1. 71%
    2. 79k
    3. 2.24 kB
  19. hast-util-to-mdast

    Transform hast to mdast
    1. 70%
    2. 100k
    3. 7.72 kB
  20. hast-util-phrasing

    Check if a node is a phrasing content
    1. 70%
    2. 83k
    3. 769 B
  21. hast-util-to-nlcst

    Transform hast to nlcst
    1. 69%
    2. 79k
    3. 2.18 kB
  22. rehype-highlight

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

    Get the plain-text value of a node according to the innerText algorithm
    1. 69%
    2. 19k
    3. 2.17 kB
  24. hast-util-select

    querySelector, querySelectorAll, and matches in hast
    1. 69%
    2. 5k
    3. 12.5 kB
  25. rehype-document

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

    Check if a node is a heading element
    1. 67%
    2. 1k
    3. 371 B
  27. hast-util-from-dom

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

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

    Transform a HAST into a Snabbdom tree.
    1. 67%
    2. 10
    3. 5.84 kB
  30. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 66%
    2. 7
    3. 10 kB
  31. hast-util-transparent

    Check if a node is a transparent element
    1. 66%
    2. 14
    3. 429 B
  32. rehype-meta

    rehype plugin to add metadata to the head of a document
    1. 66%
    2. 5
    3. 15.9 kB
  33. hast-util-labelable

    Check whether a node is labelable
    1. 66%
    2. 11
    3. 260 B
  34. hast-util-to-xast

    hast utility to transform to xast
    1. 66%
    2. 13
    3. 7.21 kB
  35. hast-util-sectioning

    Check if a node is a sectioning element
    1. 66%
    2. 11
    3. 368 B
  36. hast-util-interactive

    Check if a node is interactive
    1. 66%
    2. 14
    3. 412 B
  37. hast-util-from-text

    Set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 6
    3. 406 B
  38. hast-util-script-supporting

    Check if a node is a script-supporting element
    1. 66%
    2. 13
    3. 355 B
  39. hast-util-find-and-replace

    Find and replace text in a HAST tree
    1. 66%
    2. 66
    3. 2.05 kB
  40. rehype-picture

    rehype plugin to wrap images in pictures
    1. 66%
    2. 11
    3. 1.12 kB
  41. hast-util-assert

    Assert HAST nodes
    1. 65%
    2. 11
    3. 1.43 kB
  42. hast-util-shift-heading

    Change heading rank (or depth, level) in hast
    1. 65%
    2. 8
    3. 1.03 kB
  43. hast-util-classnames

    utility to merge class names together
    1. 65%
    2. 32
    3. 537 B
  44. rehype-sort-attribute-values

    rehype plugin to sort attribute values
    1. 65%
    2. 12k
    3. 1.36 kB
  45. hast-util-menu-state

    Check the state of a menu element
    1. 65%
    2. 11
    3. 442 B
  46. rehype-sort-attributes

    rehype plugin to reorder attributes based on how often they occur
    1. 64%
    2. 2k
    3. 1.01 kB
  47. rehype-remove-comments

    rehype plugin to remove comments (except conditional comments)
    1. 64%
    2. 2k
    3. 778 B
  48. rehype-minify-json-script

    rehype plugin to minify script elements with a JSON body
    1. 63%
    2. 769
    3. 1.1 kB
  49. rehype-minify-javascript-script

    rehype plugin to minify script elements with a JS body
    1. 63%
    2. 798
    3. 9.57 kB
  50. rehype-minify-javascript-url

    rehype plugin to minify JavaScript URLs
    1. 63%
    2. 771
    3. 9.52 kB
  51. rehype-minify-attribute-whitespace

    rehype plugin to minify white-space in attributes
    1. 63%
    2. 795
    3. 1.64 kB
  52. rehype-minify-event-handler

    rehype plugin to Mminify event handler attributes
    1. 63%
    2. 772
    3. 9.21 kB
  53. rehype-minify-css-style

    rehype plugin to minify style elements
    1. 63%
    2. 769
    3. 46.7 kB
  54. rehype-minify-style-attribute

    rehype plugin to minify style attributes
    1. 63%
    2. 772
    3. 46.6 kB
  55. rehype-minify-enumerated-attribute

    rehype plugin to minify enumerated attributes
    1. 63%
    2. 755
    3. 2.92 kB
  56. rehype-normalize-attribute-value-case

    rehype plugin to normalize casing of attribute values
    1. 63%
    2. 754
    3. 1.43 kB
  57. rehype-minify-meta-content

    rehype plugin to minify content on meta elements
    1. 63%
    2. 755
    3. 1.32 kB
  58. rehype-minify-meta-color

    rehype plugin to minify theme-color and msapplication-TileColor meta elements
    1. 63%
    2. 753
    3. 46.7 kB
  59. rehype-minify-media-attribute

    rehype plugin to minify media attributes
    1. 63%
    2. 753
    3. 46.7 kB
  60. rehype-remove-empty-attribute

    rehype plugin to remove empty attributes
    1. 63%
    2. 754
    3. 1.6 kB
  61. rehype-remove-duplicate-attribute-values

    rehype plugin to remove duplicates in attribute values with unique tokens
    1. 63%
    2. 753
    3. 1.28 kB
  62. rehype-remove-style-type-css

    rehype plugin to remove type on CSS style and links
    1. 63%
    2. 751
    3. 985 B
  63. rehype-remove-meta-http-equiv

    rehype plugin to remove http-equiv meta elements for shorter output
    1. 63%
    2. 754
    3. 1.3 kB
  64. rehype-remove-external-script-content

    rehype plugin to remove content of external JavaScript script elements
    1. 63%
    2. 751
    3. 1.26 kB
  65. rehype-remove-script-type-javascript

    rehype plugin to remove type and language on JavaScript scripts
    1. 63%
    2. 752
    3. 1.26 kB
  66. rehype-prevent-favicon-request

    rehype plugin to prevent a favicon.ico requests
    1. 62%
    2. 18
    3. 970 B
  67. rehype-javascript-to-bottom

    rehype plugin to move JavaScript <script> to <body>
    1. 62%
    2. 17
    3. 1.33 kB
  68. rehype-minify-doctype

    rehype plugin to minify the HTML doctype
    1. 62%
    2. 12
    3. 787 B
  69. rehype-minify-url

    rehype plugin to minify URLs
    1. 62%
    2. 17
    3. 4.2 kB
  70. rehype-css-to-top

    rehype plugin to move CSS <link> to <head>
    1. 62%
    2. 10
    3. 1.03 kB
  71. rehype-concat-css-style

    rehype plugin to concatenate CSS <style> elements together
    1. 62%
    2. 10
    3. 1.12 kB
  72. rehype-concat-javascript

    rehype plugin to concatenate JS <script> elements together
    1. 62%
    2. 10
    3. 1.47 kB
  73. hast-util-is-body-ok-link

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

    hast utility to check if an element is a css link
    1. 57%
    2. 752
    3. 320 B
  75. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 57%
    2. 829
    3. 656 B
  76. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 57%
    2. 829
    3. 285 B
  77. rehype-katex

    rehype plugin to transform inline and block math with KaTeX
    1. 56%
    2. 4k
    3. 133 kB
  78. rehype-shiki

    rehype plugin to highlight code blocks with shiki
    1. 51%
    2. 449
    3. 38.3 kB
  79. Find other packages matching hast on npm