unified

Explore/Project/syntax-tree

Projects by owner @syntax-tree

  1. syntax-tree/unist-util-visit

    utility to visit nodes
    1. 85%
    2. 63m
    3. 282
  2. syntax-tree/unist-util-visit-parents

    utility to recursively walk over unist nodes, with ancestral information
    1. 83%
    2. 66m
    3. 67
  3. syntax-tree/unist-util-is

    utility to check if a node passes a test
    1. 83%
    2. 67m
    3. 38
  4. syntax-tree/mdast-util-to-hast

    utility to transform mdast to hast
    1. 82%
    2. 28m
    3. 104
  5. syntax-tree/hastscript

    utility to create hast trees
    1. 82%
    2. 24m
    3. 164
  6. syntax-tree/unist-util-stringify-position

    utility to serialize a node, position, or point as a human readable location
    1. 82%
    2. 56m
    3. 6
  7. syntax-tree/mdast-util-to-string

    utility to get the plain text content of an mdast node
    1. 82%
    2. 53m
    3. 39
  8. syntax-tree/unist-builder

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

    utility to remove positions from a tree
    1. 81%
    2. 20m
    3. 12
  10. syntax-tree/unist-util-position

    utility to get the position of a node
    1. 81%
    2. 29m
    3. 8
  11. syntax-tree/unist-util-generated

    utility to check if a node is generated
    1. 81%
    2. 17m
    3. 4
  12. syntax-tree/hast-util-parse-selector

    utility to create an element from a simple CSS selector
    1. 81%
    2. 23m
    3. 13
  13. syntax-tree/hast-util-from-parse5

    utility to transform Parse5’s AST to hast
    1. 81%
    2. 16m
    3. 16
  14. syntax-tree/mdast-util-definitions

    utility to find definition nodes in an mdast tree
    1. 80%
    2. 23m
    3. 11
  15. syntax-tree/mdast-util-from-markdown

    mdast utility to parse markdown
    1. 80%
    2. 38m
    3. 214
  16. syntax-tree/unist-util-remove

    utility to remove nodes from a tree
    1. 80%
    2. 7.2m
    3. 22
  17. syntax-tree/hast-util-raw

    utility to reparse a hast tree
    1. 80%
    2. 14m
    3. 11
  18. syntax-tree/hast-util-to-parse5

    utility to transform hast to Parse5’s AST
    1. 80%
    2. 14m
    3. 2
  19. syntax-tree/mdast-squeeze-paragraphs

    utility to remove empty paragraphs from an mdast tree
    1. 80%
    2. 5.5m
    3. 6
  20. syntax-tree/mdast-util-to-markdown

    mdast utility to serialize markdown
    1. 78%
    2. 30m
    3. 100
  21. syntax-tree/hast-util-whitespace

    utility to check if a node is inter-element whitespace
    1. 77%
    2. 21m
    3. 4
  22. syntax-tree/mdast-util-find-and-replace

    mdast utility to find and replace text in a tree
    1. 76%
    2. 17m
    3. 11
  23. syntax-tree/mdast-util-gfm

    mdast extension to parse and serialize GFM (GitHub Flavored Markdown)
    1. 76%
    2. 16m
    3. 19
  24. syntax-tree/mdast-util-gfm-table

    mdast extension to parse and serialize GFM tables
    1. 76%
    2. 17m
    3. 13
  25. syntax-tree/mdast-util-gfm-autolink-literal

    mdast extension to parse and serialize GFM autolink literals
    1. 75%
    2. 16m
    3. 12
  26. syntax-tree/mdast-util-gfm-strikethrough

    mdast extension to parse and serialize GFM strikethrough
    1. 75%
    2. 16m
    3. 5
  27. syntax-tree/hast-util-to-html

    utility to serialize hast to HTML
    1. 75%
    2. 7.6m
    3. 92
  28. syntax-tree/mdast-util-gfm-task-list-item

    mdast extension to parse and serialize GFM task list items
    1. 75%
    2. 16m
    3. 5
  29. syntax-tree/hast-util-is-element

    utility to check if a node is a (certain) element
    1. 75%
    2. 14m
    3. 12
  30. syntax-tree/unist-util-find-all-after

    utility to find nodes after another node
    1. 75%
    2. 4.1m
    3. 6
  31. syntax-tree/estree-util-is-identifier-name

    Check if something can be an ecmascript (javascript) identifier name
    1. 74%
    2. 15m
    3. 3
  32. syntax-tree/hast-util-sanitize

    utility to sanitize hast nodes
    1. 74%
    2. 2.7m
    3. 50
  33. syntax-tree/estree-util-visit

    esast (and estree) utility to visit nodes
    1. 74%
    2. 7.3m
    3. 4
  34. syntax-tree/mdast-util-mdx-jsx

    mdast extension to parse and serialize MDX JSX
    1. 74%
    2. 12m
    3. 24
  35. syntax-tree/mdast-util-compact

    utility to make an mdast tree compact
    1. 74%
    2. 2.9m
    3. 7
  36. syntax-tree/mdast-util-mdx

    mdast extension to parse and serialize MDX (or MDX.js)
    1. 73%
    2. 7.2m
    3. 22
  37. syntax-tree/unist-util-position-from-estree

    unist utility to get a position from an estree node
    1. 73%
    2. 7.2m
    3. 0
  38. syntax-tree/mdast-util-mdxjs-esm

    mdast extension to parse and serialize MDX.js ESM (import/exports)
    1. 73%
    2. 12m
    3. 8
  39. syntax-tree/mdast-util-mdx-expression

    mdast extension to parse and serialize MDX or MDX.js expressions
    1. 73%
    2. 12m
    3. 4
  40. syntax-tree/mdast-util-frontmatter

    mdast extensions to parse and serialize frontmatter (YAML, TOML, etc)
    1. 73%
    2. 5.3m
    3. 15
  41. syntax-tree/mdast-util-gfm-footnote

    mdast extension to parse and serialize GFM footnotes
    1. 73%
    2. 13m
    3. 5
  42. syntax-tree/hast-util-has-property

    utility to check if a node has a property
    1. 73%
    2. 2.8m
    3. 1
  43. syntax-tree/nlcst-to-string

    utility to transform an nlcst tree to a string
    1. 73%
    2. 2.4m
    3. 18
  44. syntax-tree/hast-util-to-text

    utility to get the plain-text value of a node according to the innerText algorithm
    1. 73%
    2. 3.5m
    3. 19
  45. syntax-tree/unist-util-find-after

    unist utility to find a node after another node
    1. 73%
    2. 3.6m
    3. 7
  46. syntax-tree/unist-util-modify-children

    utility to modify direct children of a parent
    1. 72%
    2. 2.3m
    3. 11
  47. syntax-tree/estree-util-attach-comments

    utility to attach comments to estree nodes
    1. 72%
    2. 5.9m
    3. 7
  48. syntax-tree/hast-util-heading-rank

    utility to get the rank (or depth, level) of headings
    1. 72%
    2. 9.2m
    3. 7
  49. syntax-tree/estree-util-build-jsx

    Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)
    1. 72%
    2. 5.8m
    3. 22
  50. syntax-tree/hast-util-select

    utility to add querySelector, querySelectorAll, and matches support for hast
    1. 72%
    2. 1.4m
    3. 38
  51. syntax-tree/mdast-util-toc

    utility to generate a table of contents from an mdast tree
    1. 72%
    2. 1.2m
    3. 83
  52. syntax-tree/unist-util-select

    utility to select unist nodes with CSS-like selectors
    1. 72%
    2. 732k
    3. 62
  53. syntax-tree/hast-util-to-estree

    hast utility to transform to estree (JavaScript AST) JSX
    1. 72%
    2. 5.9m
    3. 19
  54. syntax-tree/unist-util-visit-children

    unist utility to visit direct children of a parent
    1. 72%
    2. 2.1m
    3. 8
  55. syntax-tree/unist-util-inspect

    utility to inspect nodes
    1. 72%
    2. 1.7m
    3. 27
  56. syntax-tree/unist-util-map

    utility to create a new tree by mapping all nodes
    1. 71%
    2. 408k
    3. 35
  57. syntax-tree/mdast-comment-marker

    utility to parse a comment marker in mdast
    1. 71%
    2. 921k
    3. 9
  58. syntax-tree/unist-util-filter

    utility to create a new tree with nodes that pass a filter
    1. 71%
    2. 1.4m
    3. 18
  59. syntax-tree/mdast-util-heading-style

    utility to get the style of an mdast heading
    1. 71%
    2. 650k
    3. 5
  60. syntax-tree/mdast-util-to-nlcst

    utility to transform mdast to nlcst
    1. 71%
    2. 460k
    3. 9
  61. syntax-tree/hast-util-to-mdast

    utility to transform hast (HTML) to mdast (markdown)
    1. 70%
    2. 416k
    3. 38
  62. syntax-tree/hast-util-from-dom

    utility to transform a DOM tree to hast
    1. 70%
    2. 1.6m
    3. 22
  63. syntax-tree/hast-util-phrasing

    utility to check if a node is phrasing content
    1. 70%
    2. 840k
    3. 0
  64. syntax-tree/nlcst-search

    utility to search for patterns in an nlcst tree
    1. 70%
    2. 109k
    3. 16
  65. syntax-tree/nlcst-is-literal

    utility to check whether an nlcst node is meant literally
    1. 70%
    2. 171k
    3. 9
  66. syntax-tree/mdast-util-math

    mdast extension to parse and serialize math
    1. 69%
    2. 1.9m
    3. 16
  67. syntax-tree/mdast-util-heading-range

    utility to use headings as ranges in mdast
    1. 69%
    2. 58k
    3. 10
  68. syntax-tree/nlcst-normalize

    utility to normalize an nlcst word for easier comparison
    1. 69%
    2. 115k
    3. 7
  69. syntax-tree/hast-util-embedded

    utility to check if a node is an embedded element
    1. 69%
    2. 1.1m
    3. 3
  70. syntax-tree/mdast-util-phrasing

    utility to check if an mdast node is phrasing content
    1. 69%
    2. 21m
    3. 1
  71. syntax-tree/mdast-zone

    utility to treat HTML comments as ranges or markers in mdast
    1. 69%
    2. 15k
    3. 15
  72. syntax-tree/hast-util-to-nlcst

    utility to transform hast to nlcst
    1. 68%
    2. 98k
    3. 4
  73. syntax-tree/unist-util-index

    utility to index property values or computed keys to nodes
    1. 68%
    2. 3.1k
    3. 9
  74. syntax-tree/unist-util-source

    utility to get the source of a node or position
    1. 68%
    2. 43k
    3. 6
  75. syntax-tree/hast-util-heading

    utility to check if a node is heading content
    1. 68%
    2. 19k
    3. 6
  76. syntax-tree/mdast-util-directive

    mdast extension to parse and serialize generic directives (:cite[smith04])
    1. 68%
    2. 1.9m
    3. 14
  77. syntax-tree/hast-util-find-and-replace

    utility to find and replace text in a hast tree
    1. 68%
    2. 248k
    3. 6
  78. syntax-tree/hast-util-to-dom

    utility to transform hast to a DOM tree
    1. 68%
    2. 16k
    3. 19
  79. syntax-tree/unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 67%
    2. 7.9k
    3. 5
  80. 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. 11k
    3. 6
  81. syntax-tree/hast-util-reading-time

    utility to estimate the reading time
    1. 67%
    2. 4.4k
    3. 56
  82. syntax-tree/nlcst-emoticon-modifier

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

    utility to merge affix emoticons into the previous sentence in nlcst
    1. 67%
    2. 68k
    3. 1
  84. syntax-tree/unist-util-find-before

    utility to find a node before another node
    1. 67%
    2. 24k
    3. 4
  85. syntax-tree/nlcst-emoji-modifier

    utility to support emoji in nlcst
    1. 67%
    2. 68k
    3. 2
  86. syntax-tree/unist-util-find-all-before

    utility to find nodes before another node
    1. 67%
    2. 43k
    3. 5
  87. syntax-tree/unist-util-assert

    utility to assert nodes
    1. 67%
    2. 7.3k
    3. 4
  88. syntax-tree/xastscript

    utility to create xast trees
    1. 67%
    2. 11k
    3. 12
  89. syntax-tree/xast-util-from-xml

    utility to parse from XML
    1. 67%
    2. 9.4k
    3. 16
  90. syntax-tree/hast-util-from-selector

    utility to parse CSS selectors to hast nodes
    1. 67%
    2. 6.9k
    3. 2
  91. syntax-tree/xast-util-to-xml

    utility to serialize to XML
    1. 67%
    2. 17k
    3. 3
  92. syntax-tree/mdast-util-assert

    utility to assert mdast trees
    1. 67%
    2. 6.3k
    3. 0
  93. syntax-tree/hast-util-to-xast

    utility to transform to xast (xml)
    1. 67%
    2. 2.9k
    3. 4
  94. syntax-tree/xast-util-feed

    xast utility to build feeds (rss, atom)
    1. 67%
    2. 2.1k
    3. 10
  95. syntax-tree/unist-util-size

    utility to calculate the number of nodes in a tree
    1. 66%
    2. 107
    3. 1
  96. syntax-tree/xast-util-sitemap

    xast utility to build a sitemap
    1. 66%
    2. 308
    3. 5
  97. syntax-tree/xast-util-to-string

    xast utility to get the text value of a node
    1. 66%
    2. 4.7k
    3. 4
  98. syntax-tree/esast-util-from-estree

    esast utility to transform from estree
    1. 66%
    2. 1.2m
    3. 1
  99. syntax-tree/hast-util-transparent

    utility to check if a node is a transparent element
    1. 66%
    2. 39
    3. 1
  100. syntax-tree/nlcst-test

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

    utility to check if a node is a sectioning element
    1. 66%
    2. 11
    3. 2
  102. syntax-tree/hast-util-assert

    utility to assert hast nodes
    1. 66%
    2. 44
    3. 1
  103. syntax-tree/hast-util-labelable

    utility to check whether a node is labelable
    1. 66%
    2. 10
    3. 2
  104. syntax-tree/hast-util-classnames

    utility to merge class names together
    1. 66%
    2. 202k
    3. 2
  105. syntax-tree/hast-util-from-text

    utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 416
    3. 2
  106. syntax-tree/hast-util-shift-heading

    utility to change heading rank (or depth, level) in hast
    1. 66%
    2. 3.9k
    3. 2
  107. syntax-tree/hast-util-script-supporting

    utility to check if a node is a script-supporting element
    1. 66%
    2. 32
    3. 0
  108. syntax-tree/hast-util-interactive

    utility to check if a node is interactive
    1. 65%
    2. 6.8k
    3. 0
  109. syntax-tree/esast-util-from-js

    estree (and esast) utility to parse from JavaScript
    1. 65%
    2. 1.2m
    3. 13
  110. syntax-tree/hast-util-from-html

    hast utility to parse from HTML
    1. 65%
    2. 3.5m
    3. 29
  111. syntax-tree/unist-diff

    Diff two unist trees
    1. 65%
    2. 21
    3. 13
  112. syntax-tree/hast-util-truncate

    utility to truncate the tree to a certain number of characters
    1. 64%
    2. 52k
    3. 3
  113. syntax-tree/hast-util-excerpt

    utility to truncate the tree to a comment
    1. 64%
    2. 52k
    3. 2
  114. syntax-tree/estree-util-to-js

    estree (and esast) utility to serialize as JavaScript
    1. 64%
    2. 5.7m
    3. 12
  115. Find other projects by owner @syntax-tree on GitHub