unified

Explore/Keyword/hast

Packages matching hast

  1. unist-util-visit

    unist utility to visit nodes
    1. 83%
    2. 21m
  2. hastscript

    hast utility to create trees
    1. 80%
    2. 15m
  3. mdast-util-to-hast

    mdast utility to transform to hast
    1. 78%
    2. 9m
  4. hast-util-parse-selector

    hast utility to create an element from a simple CSS selector
    1. 77%
    2. 12m
    3. 357 B
  5. hast-to-hyperscript

    hast utility to transform to something else (react, vue, etc) through a hyperscript DSL
    1. 76%
    2. 8m
  6. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 76%
    2. 9m
    3. 8.09 kB
  7. hast-util-raw

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

    hast utility to transform hast to Parse5’s AST
    1. 75%
    2. 8m
    3. 8.74 kB
  9. hast-util-is-element

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

    hast utility to serialize to HTML
    1. 74%
    2. 2m
  11. remark-rehype

    remark plugin to transform to rehype
    1. 74%
    2. 697k
    3. 4.26 kB
  12. rehype-react

    rehype plugin to transform to React
    1. 73%
    2. 191k
    3. 9.15 kB
  13. hast-util-whitespace

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

    hast utility to sanitize nodes
    1. 73%
    2. 704k
  15. hast-util-has-property

    hast utility to check if a node has a property
    1. 71%
    2. 580k
    3. 255 B
  16. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 71%
    2. 259k
    3. 1.91 kB
  17. rehype-remark

    rehype plugin to transform to remark
    1. 70%
    2. 143k
    3. 8.1 kB
  18. hast-util-select

    hast utility for querySelector, querySelectorAll, and matches
    1. 70%
    2. 94k
    3. 13 kB
  19. rehype-highlight

    rehype plugin to highlight code blocks with lowlight (highlight.js)
    1. 70%
    2. 83k
    3. 281 kB
  20. hast-util-heading-rank

    hast utility to get the rank (or depth, level) of headings
    1. 69%
    2. 38k
    3. 271 B
  21. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 69%
    2. 88k
    3. 1.17 kB
  22. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 69%
    2. 269k
    3. 463 B
  23. hast-util-to-mdast

    hast utility to transform to mdast
    1. 69%
    2. 152k
  24. rehype-retext

    rehype plugin to transform to retext
    1. 69%
    2. 48k
    3. 2.27 kB
  25. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 68%
    2. 50k
    3. 2.45 kB
  26. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 68%
    2. 32k
  27. rehype-document

    rehype plugin to wrap a document around a fragment
    1. 68%
    2. 14k
    3. 5.34 kB
  28. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 67%
    2. 14k
    3. 12.6 kB
  29. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 235
    3. 6.8 kB
  30. hast-util-find-and-replace

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

    hast utility to transform to the DOM
    1. 67%
    2. 3k
    3. 6.62 kB
  32. hast-util-classnames

    hast utility to merge class names together
    1. 67%
    2. 112
    3. 524 B
  33. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 66%
    2. 131
    3. 9.8 kB
  34. hast-util-heading

    hast utility to check if a node is a heading element
    1. 66%
    2. 2k
    3. 444 B
  35. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 164
    3. 967 B
  36. rehype-picture

    rehype plugin to wrap images in pictures
    1. 66%
    2. 81
    3. 1.14 kB
  37. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 70
    3. 503 B
  38. rehype-meta

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

    hast utility to check whether a node is labelable
    1. 66%
    2. 67
    3. 289 B
  40. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 82
    3. 362 B
  41. hast-util-menu-state

    hast utility to get the state of a menu element
    1. 66%
    2. 70
    3. 684 B
  42. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 65%
    2. 94
    3. 436 B
  43. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 65%
    2. 71
    3. 437 B
  44. hast-util-interactive

    hast utility to check if a node is interactive
    1. 65%
    2. 77
    3. 435 B
  45. hast-util-assert

    hast utility to assert nodes
    1. 64%
    2. 8
    3. 1.45 kB
  46. unified-doc-react

    react wrapper for unified-doc
    1. 61%
    2. 7
    3. 147 kB
  47. unified-doc-dom

    DOM APIs for unified-doc
    1. 60%
    2. 2
    3. 18.9 kB
  48. unified-doc

    unified document APIs.
    1. 60%
    2. 46
    3. 144 kB
  49. remark-extract-toc

    remark plugin to store table of contents
    1. 60%
    2. 501
    3. 7.67 kB
  50. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 59%
    2. 6k
    3. 357 B
  51. rehype-mathjax

    rehype plugin to transform inline and block math with MathJax
    1. 59%
    2. 7k
    3. 590 kB
  52. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 57%
    2. 1k
    3. 977 B
  53. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 57%
    2. 139k
    3. 507 B
  54. unified-doc-types

    unified-doc typescript typings.
    1. 57%
    2. 31
  55. unified-doc-util-text-offsets

    unified-doc hast utility to add text offsets to text nodes.
    1. 56%
    2. 30
    3. 898 B
  56. unified-doc-search-micromatch

    unified-doc micromatch search algorithm.
    1. 56%
    2. 20
    3. 12.9 kB
  57. rehype-katex

    rehype plugin to transform inline and block math with KaTeX
    1. 56%
    2. 28k
    3. 137 kB
  58. unified-doc-util-mark

    unified-doc hast util to mark text nodes.
    1. 55%
    2. 6
    3. 6.55 kB
  59. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 53%
    2. 1k
    3. 320 B
  60. unified-doc-parse-csv

    unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)
    1. 50%
    2. 4
    3. 5.57 kB
  61. rehype-shiki

    rehype plugin to highlight code blocks with shiki
    1. 44%
    2. 5k
    3. 38.5 kB
  62. Find other packages matching hast on npm