unified

Explore/Keyword/hast

Packages matching hast

  1. unist-util-visit

    unist utility to visit nodes
    1. 83%
    2. 34m
    3. 805 B
  2. hastscript

    hast utility to create trees
    1. 83%
    2. 22m
    3. 6.94 kB
  3. mdast-util-to-hast

    mdast utility to transform to hast
    1. 82%
    2. 19m
    3. 5.26 kB
  4. hast-to-hyperscript

    hast utility to transform to something else (react, vue, etc) through a hyperscript DSL
    1. 81%
    2. 15m
    3. 7.93 kB
  5. hast-util-parse-selector

    hast utility to create an element from a simple CSS selector
    1. 81%
    2. 19m
    3. 340 B
  6. hast-util-from-parse5

    hast utility to transform from Parse5’s AST
    1. 81%
    2. 16m
    3. 7.88 kB
  7. hast-util-raw

    hast utility to reparse a tree
    1. 80%
    2. 15m
    3. 58.4 kB
  8. hast-util-to-parse5

    hast utility to transform hast to Parse5’s AST
    1. 80%
    2. 15m
    3. 8.53 kB
  9. remark-rehype

    remark plugin that turns markdown into HTML to support rehype
    1. 77%
    2. 4m
    3. 5.32 kB
  10. hast-util-whitespace

    hast utility to check if a node is inter-element whitespace
    1. 76%
    2. 4m
    3. 234 B
  11. hast-util-to-html

    hast utility to serialize to HTML
    1. 76%
    2. 2m
  12. hast-util-is-element

    hast utility to check if a node is a (certain) element
    1. 75%
    2. 3m
    3. 550 B
  13. hast-util-sanitize

    hast utility to sanitize nodes
    1. 74%
    2. 1m
    3. 1.97 kB
  14. hast-util-to-string

    hast utility to get the plain-text value of a node
    1. 74%
    2. 1m
    3. 256 B
  15. hast-util-has-property

    hast utility to check if a node has a property
    1. 73%
    2. 1m
    3. 243 B
  16. hast-util-to-text

    hast utility to get the plain-text value of a node according to the innerText algorithm
    1. 73%
    2. 671k
    3. 1.7 kB
  17. rehype-react

    rehype plugin to transform to React
    1. 72%
    2. 283k
    3. 8.93 kB
  18. hast-util-heading-rank

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

    hast utility for querySelector, querySelectorAll, and matches
    1. 72%
    2. 422k
    3. 12.9 kB
  20. rehype-highlight

    rehype plugin to highlight code blocks with lowlight (highlight.js)
    1. 72%
    2. 352k
    3. 47.3 kB
  21. hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 72%
    2. 414k
    3. 12.3 kB
  22. rehype-katex

    rehype plugin to transform inline and block math with KaTeX
    1. 71%
    2. 109k
    3. 136 kB
  23. hast-util-from-dom

    hast utility to create a tree from the DOM
    1. 71%
    2. 106k
    3. 7.29 kB
  24. hast-util-is-body-ok-link

    hast utility to check if a link element is “Body OK”
    1. 70%
    2. 195k
    3. 709 B
  25. hast-util-embedded

    hast utility to check if a node is an embedded element
    1. 70%
    2. 350k
    3. 442 B
  26. hast-util-to-mdast

    hast utility to transform to mdast
    1. 70%
    2. 149k
    3. 7.67 kB
  27. hast-util-phrasing

    hast utility to check if a node is phrasing content
    1. 69%
    2. 160k
    3. 1.14 kB
  28. hast-util-is-conditional-comment

    hast utility to check if a node is a conditional comment
    1. 69%
    2. 44k
    3. 227 B
  29. rehype-remark

    rehype plugin to transform to remark
    1. 69%
    2. 135k
    3. 7.77 kB
  30. hast-util-to-nlcst

    hast utility to transform to nlcst
    1. 69%
    2. 80k
    3. 2.35 kB
  31. rehype-mathjax

    rehype plugin to transform inline and block math with MathJax
    1. 69%
    2. 42k
  32. hast-util-heading

    hast utility to check if a node is a heading element
    1. 68%
    2. 20k
    3. 423 B
  33. hast-util-find-and-replace

    hast utility to find and replace text in a tree
    1. 68%
    2. 18k
    3. 1.4 kB
  34. hast-util-is-css-link

    hast utility to check if an element is a css link
    1. 68%
    2. 6k
    3. 286 B
  35. hast-util-is-javascript

    hast utility to check if an element is a JavaScript script
    1. 68%
    2. 6k
    3. 800 B
  36. hast-util-from-string

    hast utility to set the plain-text value of a node
    1. 68%
    2. 9k
    3. 238 B
  37. hast-util-is-css-style

    hast utility to check if an element is a css style
    1. 68%
    2. 8k
    3. 250 B
  38. rehype-external-links

    rehype plugin to automatically add target and rel attributes to external links
    1. 68%
    2. 28k
    3. 1.6 kB
  39. rehype-retext

    rehype plugin to transform to retext
    1. 68%
    2. 80k
    3. 2.5 kB
  40. hast-util-reading-time

    hast utility to estimate the reading time
    1. 67%
    2. 335
    3. 37.3 kB
  41. hast-util-to-dom

    hast utility to transform to the DOM
    1. 67%
    2. 2k
    3. 6.5 kB
  42. hast-util-from-selector

    hast utility to parse CSS selectors to hast nodes
    1. 67%
    2. 2k
    3. 9.57 kB
  43. rehype-document

    rehype plugin to wrap a document around a fragment
    1. 67%
    2. 11k
    3. 7.08 kB
  44. hast-util-to-xast

    hast utility to transform to xast
    1. 67%
    2. 598
    3. 6.64 kB
  45. hast-util-assert

    hast utility to assert nodes
    1. 66%
    2. 65
    3. 1.31 kB
  46. hast-util-transparent

    hast utility to check if a node is a transparent element
    1. 66%
    2. 48
    3. 480 B
  47. hast-util-sectioning

    hast utility to check if a node is a sectioning element
    1. 66%
    2. 56
    3. 417 B
  48. hast-util-labelable

    hast utility to check whether a node is labelable
    1. 66%
    2. 47
    3. 276 B
  49. hast-util-classnames

    hast utility to merge class names together
    1. 66%
    2. 82
  50. hast-util-from-text

    hast utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 41
    3. 345 B
  51. hast-util-script-supporting

    hast utility to check if a node is a script-supporting element
    1. 66%
    2. 64
    3. 416 B
  52. hast-util-shift-heading

    hast utility to change heading rank (or depth, level)
    1. 66%
    2. 441
    3. 922 B
  53. hast-util-menu-state

    hast utility to get the state of a menu element
    1. 66%
    2. 54
    3. 661 B
  54. rehype-meta

    rehype plugin to add metadata to the head of a document
    1. 66%
    2. 451
    3. 15.5 kB
  55. rehype-picture

    rehype plugin to wrap images in pictures
    1. 65%
    2. 102
    3. 1.34 kB
  56. unist-util-ancestor

    Unist utility for finding the closest common ancestor for multiple nodes
    1. 65%
    2. 101
    3. 914 B
  57. rehype-shift-heading

    rehype plugin to change the rank (depth, level) of headings
    1. 65%
    2. 401
    3. 1.01 kB
  58. rehype-infer-reading-time-meta

    rehype plugin to infer reading time as file metadata from the document
    1. 65%
    2. 249
    3. 49.9 kB
  59. hast-util-interactive

    hast utility to check if a node is interactive
    1. 65%
    2. 55
    3. 417 B
  60. rehype-infer-title-meta

    rehype plugin to infer file metadata from the main title of a document
    1. 65%
    2. 243
    3. 14.1 kB
  61. rehype-infer-description-meta

    rehype plugin to infer file metadata from the document
    1. 65%
    2. 243
    3. 15.4 kB
  62. hast-util-truncate

    hast utility to truncate the tree to a certain number of characters
    1. 64%
    2. 250
    3. 1.1 kB
  63. hast-util-excerpt

    hast utility to excerpt the tree to a comment
    1. 64%
    2. 244
    3. 1.28 kB
  64. remark-extract-toc

    remark plugin to store table of contents
    1. 62%
    2. 19k
    3. 7.49 kB
  65. unified-doc-react

    react wrapper for unified-doc
    1. 61%
    2. 29
    3. 144 kB
  66. unified-doc-dom

    DOM APIs for unified-doc
    1. 61%
    2. 27
    3. 18.5 kB
  67. unified-doc

    unified document APIs.
    1. 60%
    2. 558
    3. 141 kB
  68. hast-util-from-codemirror

    Render styled Lezer syntax trees to hast
    1. 58%
    2. 49
    3. 58.4 kB
  69. unified-doc-util-text-offsets

    unified-doc hast utility to add text offsets to text nodes.
    1. 47%
    2. 427
    3. 856 B
  70. unified-doc-util-mark

    unified-doc hast util to mark text nodes.
    1. 45%
    2. 361
    3. 6.4 kB
  71. rehype-shiki

    rehype plugin to highlight code blocks with shiki
    1. 42%
    2. 5k
    3. 37.6 kB
  72. unified-doc-parse-csv

    unified-doc parser to parse csv into a hast table node (RFC-4180 compliant)
    1. 42%
    2. 353
    3. 5.44 kB
  73. unified-doc-types

    unified-doc typescript typings.
    1. 38%
    2. 432
  74. unified-doc-search-micromatch

    unified-doc micromatch search algorithm.
    1. 37%
    2. 393
    3. 12.6 kB
  75. Find other packages matching hast on npm