unified

Explore/Project/syntax-tree

Projects by owner @syntax-tree

  1. syntax-tree/unist-util-visit

    utility to visit nodes
    1. 83%
    2. 22m
    3. 107
  2. syntax-tree/unist-util-is

    utility to check if a node passes a test
    1. 81%
    2. 27m
    3. 22
  3. syntax-tree/unist-util-visit-parents

    utility to recursively walk over unist nodes, with ancestral information
    1. 80%
    2. 24m
    3. 22
  4. syntax-tree/hastscript

    utility to create hast trees
    1. 80%
    2. 15m
    3. 77
  5. syntax-tree/mdast-util-to-string

    utility to get the plain text content of an mdast node
    1. 80%
    2. 16m
    3. 17
  6. syntax-tree/unist-util-stringify-position

    utility to serialize a node, position, or point as a human readable location
    1. 79%
    2. 24m
    3. 4
  7. syntax-tree/mdast-util-definitions

    utility to find definition nodes in an mdast tree
    1. 79%
    2. 12m
    3. 4
  8. syntax-tree/unist-util-remove-position

    utility to remove positions from a tree
    1. 78%
    2. 17m
    3. 8
  9. syntax-tree/mdast-util-to-hast

    utility to transform mdast to hast
    1. 78%
    2. 9m
    3. 42
  10. syntax-tree/unist-builder

    utility to create a new trees with a nice syntax
    1. 78%
    2. 9m
    3. 38
  11. syntax-tree/unist-util-remove

    utility to remove nodes from a tree
    1. 78%
    2. 9m
    3. 6
  12. syntax-tree/unist-util-generated

    utility to check if a node is generated
    1. 78%
    2. 9m
    3. 2
  13. syntax-tree/unist-util-find-all-after

    utility to find nodes after another node
    1. 77%
    2. 10m
    3. 5
  14. syntax-tree/unist-util-position

    utility to get the position of a node
    1. 77%
    2. 9m
    3. 5
  15. syntax-tree/hast-util-parse-selector

    utility to create an element from a simple CSS selector
    1. 77%
    2. 13m
    3. 9
  16. syntax-tree/hast-to-hyperscript

    utility to transform hast to something else through a hyperscript DSL
    1. 76%
    2. 8m
    3. 33
  17. syntax-tree/mdast-squeeze-paragraphs

    utility to remove empty paragraphs from an mdast tree
    1. 76%
    2. 7m
    3. 3
  18. syntax-tree/hast-util-from-parse5

    utility to transform Parse5’s AST to hast
    1. 76%
    2. 9m
    3. 8
  19. syntax-tree/hast-util-raw

    utility to reparse a hast tree
    1. 76%
    2. 8m
    3. 2
  20. syntax-tree/hast-util-to-parse5

    utility to transform hast to Parse5’s AST
    1. 75%
    2. 8m
    3. 1
  21. syntax-tree/hast-util-is-element

    utility to check if a node is a (certain) element
    1. 75%
    2. 2m
    3. 7
  22. syntax-tree/mdast-util-from-markdown

    mdast utility to parse markdown
    1. 74%
    2. 8m
    3. 35
  23. syntax-tree/hast-util-to-html

    utility to serialize hast to HTML
    1. 74%
    2. 2m
    3. 35
  24. syntax-tree/unist-util-select

    utility to select unist nodes with CSS-like selectors
    1. 74%
    2. 809k
    3. 37
  25. syntax-tree/mdast-util-toc

    utility to generate a table of contents from an mdast tree
    1. 74%
    2. 1m
    3. 41
  26. syntax-tree/mdast-util-compact

    utility to make an mdast tree compact
    1. 74%
    2. 8m
    3. 3
  27. syntax-tree/nlcst-to-string

    utility to transform an nlcst tree to a string
    1. 73%
    2. 931k
    3. 14
  28. syntax-tree/hast-util-whitespace

    utility to check if a node is inter-element whitespace
    1. 73%
    2. 2m
    3. 3
  29. syntax-tree/hast-util-sanitize

    utility to sanitize hast nodes
    1. 73%
    2. 737k
    3. 30
  30. syntax-tree/mdast-util-to-markdown

    mdast utility to serialize markdown
    1. 73%
    2. 7m
    3. 17
  31. syntax-tree/unist-util-map

    utility to create a new tree by mapping all nodes
    1. 73%
    2. 456k
    3. 13
  32. syntax-tree/unist-util-modify-children

    utility to modify direct children of a parent
    1. 72%
    2. 1m
    3. 4
  33. syntax-tree/unist-util-visit-children

    unist utility to visit direct children of a parent
    1. 72%
    2. 915k
    3. 4
  34. syntax-tree/unist-util-inspect

    utility to inspect nodes
    1. 72%
    2. 489k
    3. 15
  35. syntax-tree/mdast-util-find-and-replace

    mdast utility to find and replace text in a tree
    1. 72%
    2. 555k
    3. 3
  36. syntax-tree/hast-util-has-property

    utility to check if a node has a property
    1. 71%
    2. 613k
    3. 0
  37. syntax-tree/hast-util-to-text

    utility to get the plain-text value of a node according to the innerText algorithm
    1. 71%
    2. 267k
    3. 9
  38. syntax-tree/unist-util-filter

    utility to create a new tree with nodes that pass a filter
    1. 71%
    2. 140k
    3. 7
  39. syntax-tree/mdast-comment-marker

    utility to parse a comment marker in mdast
    1. 71%
    2. 334k
    3. 8
  40. syntax-tree/unist-util-find-after

    unist utility to find a node after another node
    1. 70%
    2. 292k
    3. 3
  41. syntax-tree/mdast-util-to-nlcst

    utility to transform mdast to nlcst
    1. 70%
    2. 899k
    3. 6
  42. syntax-tree/hast-util-select

    utility to add querySelector, querySelectorAll, and matches support for hast
    1. 70%
    2. 94k
    3. 15
  43. syntax-tree/nlcst-search

    utility to search for patterns in an nlcst tree
    1. 69%
    2. 72k
    3. 9
  44. syntax-tree/mdast-util-heading-style

    utility to get the style of an mdast heading
    1. 69%
    2. 264k
    3. 4
  45. syntax-tree/mdast-util-gfm-strikethrough

    mdast extension to parse and serialize GFM strikethrough
    1. 69%
    2. 696k
    3. 4
  46. syntax-tree/hast-util-heading-rank

    utility to get the rank (or depth, level) of headings
    1. 69%
    2. 40k
    3. 3
  47. syntax-tree/hast-util-phrasing

    utility to check if a node is phrasing content
    1. 69%
    2. 95k
    3. 0
  48. syntax-tree/mdast-util-gfm-table

    mdast extension to parse and serialize GFM tables
    1. 69%
    2. 692k
    3. 2
  49. syntax-tree/hast-util-embedded

    utility to check if a node is an embedded element
    1. 69%
    2. 297k
    3. 1
  50. syntax-tree/mdast-util-gfm

    mdast extension to parse and serialize GFM (GitHub Flavored Markdown)
    1. 69%
    2. 694k
    3. 4
  51. syntax-tree/hast-util-to-mdast

    utility to transform hast (HTML) to mdast (markdown)
    1. 69%
    2. 169k
    3. 13
  52. syntax-tree/mdast-util-gfm-autolink-literal

    mdast extension to parse and serialize GFM autolink literals
    1. 69%
    2. 699k
    3. 2
  53. syntax-tree/unist-util-find-all-before

    utility to find nodes before another node
    1. 69%
    2. 14k
    3. 5
  54. syntax-tree/nlcst-is-literal

    utility to check whether an nlcst node is meant literally
    1. 68%
    2. 80k
    3. 6
  55. syntax-tree/mdast-util-gfm-task-list-item

    mdast extension to parse and serialize GFM task list items
    1. 68%
    2. 691k
    3. 1
  56. syntax-tree/nlcst-normalize

    utility to normalize an nlcst word for easier comparison
    1. 68%
    2. 71k
    3. 6
  57. syntax-tree/mdast-util-heading-range

    utility to use headings as ranges in mdast
    1. 68%
    2. 27k
    3. 7
  58. syntax-tree/unist-util-source

    utility to get the source of a node or position
    1. 68%
    2. 11k
    3. 4
  59. syntax-tree/mdast-util-mdxjs-esm

    mdast extension to parse and serialize MDX.js ESM (import/exports)
    1. 68%
    2. 759k
    3. 1
  60. syntax-tree/hast-util-to-nlcst

    utility to transform hast to nlcst
    1. 68%
    2. 53k
    3. 4
  61. syntax-tree/hast-util-from-dom

    utility to transform a DOM tree to hast
    1. 68%
    2. 34k
    3. 13
  62. syntax-tree/xastscript

    utility to create xast trees
    1. 68%
    2. 3k
    3. 2
  63. syntax-tree/mdast-zone

    utility to treat HTML comments as ranges or markers in mdast
    1. 68%
    2. 12k
    3. 11
  64. syntax-tree/xast-util-to-xml

    utility to serialize to XML
    1. 68%
    2. 4k
    3. 2
  65. syntax-tree/unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 68%
    2. 8k
    3. 3
  66. syntax-tree/mdast-util-phrasing

    utility to check if an mdast node is phrasing content
    1. 67%
    2. 146k
    3. 0
  67. syntax-tree/mdast-normalize-headings

    utility to make sure there is no more than a single top-level heading in the document
    1. 67%
    2. 2k
    3. 5
  68. syntax-tree/nlcst-emoji-modifier

    utility to support emoji in nlcst
    1. 67%
    2. 10k
    3. 2
  69. syntax-tree/unist-util-assert

    utility to assert nodes
    1. 67%
    2. 2k
    3. 3
  70. syntax-tree/nlcst-emoticon-modifier

    utility to support emoticons in nlcst
    1. 67%
    2. 10k
    3. 2
  71. syntax-tree/nlcst-affix-emoticon-modifier

    utility to merge affix emoticons into the previous sentence in nlcst
    1. 67%
    2. 10k
    3. 1
  72. syntax-tree/mdast-util-assert

    utility to assert mdast trees
    1. 67%
    2. 914
    3. 1
  73. syntax-tree/unist-util-position-from-estree

    unist utility to get a position from an estree node
    1. 67%
    2. 7k
    3. 0
  74. syntax-tree/hast-util-find-and-replace

    utility to find and replace text in a hast tree
    1. 67%
    2. 2k
    3. 3
  75. syntax-tree/hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 67%
    2. 15k
    3. 6
  76. syntax-tree/unist-util-find-before

    utility to find a node before another node
    1. 67%
    2. 6k
    3. 3
  77. syntax-tree/unist-util-size

    utility to calculate the number of nodes in a tree
    1. 67%
    2. 851
    3. 0
  78. syntax-tree/hast-util-to-xast

    utility to transform to xast (xml)
    1. 67%
    2. 280
    3. 2
  79. syntax-tree/mdast-util-footnote

    mdast extension to parse and serialize footnotes
    1. 67%
    2. 154k
    3. 3
  80. syntax-tree/hast-util-to-dom

    utility to transform hast to a DOM tree
    1. 67%
    2. 3k
    3. 9
  81. syntax-tree/mdast-util-mdx

    mdast extension to parse and serialize MDX (or MDX.js)
    1. 67%
    2. 760k
    3. 1
  82. syntax-tree/hast-util-classnames

    utility to merge class names together
    1. 67%
    2. 113
    3. 1
  83. syntax-tree/unist-util-index

    utility to index property values or computed keys to nodes
    1. 66%
    2. 1k
    3. 5
  84. syntax-tree/hast-util-from-selector

    utility to parse CSS selectors to hast nodes
    1. 66%
    2. 136
    3. 1
  85. syntax-tree/estree-util-visit

    esast (and estree) utility to visit nodes
    1. 66%
    2. 117
    3. 1
  86. syntax-tree/hast-util-heading

    utility to check if a node is a heading element
    1. 66%
    2. 3k
    3. 3
  87. syntax-tree/mdast-util-directive

    mdast extension to parse and serialize generic directives (:cite[smith04])
    1. 66%
    2. 16k
    3. 2
  88. syntax-tree/mdast-util-mdx-jsx

    mdast extension to parse and serialize MDX or MDX.js JSX
    1. 66%
    2. 763k
    3. 0
  89. syntax-tree/hast-util-shift-heading

    utility to change heading rank (or depth, level) in hast
    1. 66%
    2. 154
    3. 2
  90. syntax-tree/hast-util-transparent

    utility to check if a node is a transparent element
    1. 66%
    2. 76
    3. 1
  91. syntax-tree/xast-util-from-xml

    utility to parse from XML
    1. 66%
    2. 390
    3. 4
  92. syntax-tree/hast-util-labelable

    utility to check whether a node is labelable
    1. 66%
    2. 69
    3. 2
  93. syntax-tree/hast-util-assert

    utility to assert hast nodes
    1. 66%
    2. 57
    3. 0
  94. syntax-tree/mdast-util-math

    mdast extension to parse and serialize math
    1. 66%
    2. 81k
    3. 5
  95. syntax-tree/hast-util-from-text

    utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 84
    3. 2
  96. syntax-tree/hast-util-menu-state

    utility to get the state of a menu element
    1. 66%
    2. 69
    3. 0
  97. syntax-tree/esast-util-from-estree

    esast utility to transform from estree
    1. 65%
    2. 67
    3. 0
  98. syntax-tree/xast-util-to-string

    xast utility to get the text value of a node
    1. 65%
    2. 74
    3. 4
  99. syntax-tree/hast-util-script-supporting

    utility to check if a node is a script-supporting element
    1. 65%
    2. 102
    3. 0
  100. syntax-tree/xast-util-sitemap

    xast utility to build a sitemap
    1. 65%
    2. 128
    3. 3
  101. syntax-tree/nlcst-test

    utility to check assert an nlcst node
    1. 65%
    2. 101
    3. 2
  102. syntax-tree/hast-util-sectioning

    utility to check if a node is a sectioning element
    1. 65%
    2. 73
    3. 2
  103. syntax-tree/xast-util-feed

    xast utility to build feeds (rss, atom)
    1. 65%
    2. 127
    3. 3
  104. syntax-tree/hast-util-interactive

    utility to check if a node is interactive
    1. 65%
    2. 80
    3. 0
  105. syntax-tree/unist-diff

    Diff two unist trees
    1. 64%
    2. 3
    3. 10
  106. syntax-tree/mdast-util-frontmatter

    mdast extension to parse and serialize frontmatter (YAML, TOML, etc)
    1. 63%
    2. 116k
    3. 5
  107. Find other projects by owner @syntax-tree on GitHub