unified

Explore/Project/syntax-tree

Projects by owner @syntax-tree

  1. syntax-tree/unist-util-visit

    utility to visit nodes
    1. 81%
    2. 11m
    3. 59
  2. syntax-tree/unist-util-is

    utility to check if a node passes a test
    1. 79%
    2. 11m
    3. 13
  3. syntax-tree/unist-util-visit-parents

    utility to recursively walk over unist nodes, with ancestral information
    1. 79%
    2. 11m
    3. 14
  4. syntax-tree/unist-util-stringify-position

    utility to stringify a unist node, position, or point
    1. 78%
    2. 13m
    3. 4
  5. syntax-tree/hastscript

    utility to create hast trees
    1. 78%
    2. 7m
    3. 49
  6. syntax-tree/unist-util-remove-position

    utility to remove positions from a tree
    1. 78%
    2. 8m
    3. 7
  7. syntax-tree/hast-util-parse-selector

    utility to create an element from a simple CSS selector
    1. 77%
    2. 6m
    3. 8
  8. syntax-tree/unist-util-find-all-after

    utility to find nodes after another node
    1. 76%
    2. 5m
    3. 5
  9. syntax-tree/mdast-util-to-hast

    utility to transform mdast to hast
    1. 76%
    2. 2m
    3. 27
  10. syntax-tree/mdast-util-compact

    utility to make an mdast tree compact
    1. 76%
    2. 6m
    3. 3
  11. syntax-tree/unist-util-generated

    utility to check if a node is generated
    1. 76%
    2. 2m
    3. 2
  12. syntax-tree/unist-builder

    utility to create a new trees with a nice syntax
    1. 76%
    2. 2m
    3. 29
  13. syntax-tree/mdast-util-to-string

    utility to get the plain text content of an mdast node
    1. 75%
    2. 2m
    3. 13
  14. syntax-tree/mdast-util-definitions

    utility to find definition nodes in an mdast tree
    1. 75%
    2. 2m
    3. 4
  15. syntax-tree/unist-util-position

    utility to get the position of a node
    1. 75%
    2. 2m
    3. 5
  16. syntax-tree/unist-util-remove

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

    utility to reparse a hast tree
    1. 74%
    2. 2m
    3. 2
  18. syntax-tree/hast-util-to-html

    utility to transform hast to an HTML string
    1. 74%
    2. 792k
    3. 20
  19. syntax-tree/nlcst-to-string

    utility to transform an nlcst tree to a string
    1. 74%
    2. 652k
    3. 14
  20. syntax-tree/hast-util-is-element

    utility to check if a node is a (certain) element
    1. 74%
    2. 906k
    3. 5
  21. syntax-tree/hast-util-to-parse5

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

    utility to remove empty paragraphs from an mdast tree
    1. 73%
    2. 2m
    3. 3
  23. syntax-tree/hast-to-hyperscript

    utility to transform hast to something else through a hyperscript DSL
    1. 73%
    2. 2m
    3. 23
  24. syntax-tree/mdast-util-toc

    utility to generate a table of contents from an mdast tree
    1. 73%
    2. 774k
    3. 27
  25. syntax-tree/unist-util-select

    utility to select unist nodes with CSS-like selectors
    1. 73%
    2. 501k
    3. 26
  26. syntax-tree/hast-util-from-parse5

    utility to transform Parse5’s AST to hast
    1. 73%
    2. 3m
    3. 6
  27. syntax-tree/unist-util-visit-children

    unist utility to visit direct children of a parent
    1. 72%
    2. 630k
    3. 4
  28. syntax-tree/hast-util-whitespace

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

    utility to sanitize hast nodes
    1. 72%
    2. 342k
    3. 13
  30. syntax-tree/hast-util-has-property

    utility to check if a node has a property
    1. 72%
    2. 328k
    3. 0
  31. syntax-tree/mdast-util-to-nlcst

    utility to transform mdast to nlcst
    1. 71%
    2. 605k
    3. 6
  32. syntax-tree/nlcst-search

    utility to search for patterns in an nlcst tree
    1. 71%
    2. 89k
    3. 9
  33. syntax-tree/unist-util-inspect

    utility to inspect nodes
    1. 71%
    2. 264k
    3. 15
  34. syntax-tree/hast-util-embedded

    utility to check if a node is an embedded element
    1. 71%
    2. 181k
    3. 1
  35. syntax-tree/unist-util-map

    utility to create a new tree by mapping all nodes
    1. 71%
    2. 301k
    3. 12
  36. syntax-tree/mdast-comment-marker

    utility to parse a comment marker in mdast
    1. 70%
    2. 225k
    3. 7
  37. syntax-tree/nlcst-is-literal

    utility to check whether an nlcst node is meant literally
    1. 70%
    2. 100k
    3. 6
  38. syntax-tree/nlcst-normalize

    utility to normalize an nlcst word for easier comparison
    1. 70%
    2. 88k
    3. 6
  39. syntax-tree/unist-util-modify-children

    utility to modify direct children of a parent
    1. 70%
    2. 888k
    3. 4
  40. syntax-tree/hast-util-to-mdast

    utility to transform hast to mdast
    1. 70%
    2. 96k
    3. 7
  41. syntax-tree/hast-util-phrasing

    utility to check if a node is phrasing content
    1. 70%
    2. 78k
    3. 0
  42. syntax-tree/hast-util-to-nlcst

    utility to transform hast to nlcst
    1. 69%
    2. 74k
    3. 2
  43. syntax-tree/mdast-util-heading-style

    utility to get the style of an mdast heading
    1. 69%
    2. 136k
    3. 3
  44. syntax-tree/unist-util-find-after

    unist utility to find a node after another node
    1. 69%
    2. 25k
    3. 3
  45. syntax-tree/unist-util-filter

    utility to create a new tree with nodes that pass a filter
    1. 69%
    2. 24k
    3. 6
  46. syntax-tree/hast-util-to-text

    utility to get the plain-text value of a node according to the innerText algorithm
    1. 69%
    2. 19k
    3. 8
  47. syntax-tree/hast-util-select

    utility to add querySelector, querySelectorAll, and matches support for hast
    1. 69%
    2. 5k
    3. 11
  48. syntax-tree/mdast-util-phrasing

    utility to check if an mdast node is phrasing content
    1. 69%
    2. 68k
    3. 0
  49. syntax-tree/mdast-util-heading-range

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

    utility to get the source of a node or position
    1. 68%
    2. 8k
    3. 4
  51. syntax-tree/unist-util-find-before

    utility to find a node before another node
    1. 67%
    2. 4k
    3. 3
  52. syntax-tree/unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 67%
    2. 2k
    3. 2
  53. syntax-tree/unist-util-index

    utility to index property values or computed keys to nodes
    1. 67%
    2. 438
    3. 4
  54. syntax-tree/hast-util-heading

    utility to check if a node is a heading element
    1. 67%
    2. 1k
    3. 2
  55. syntax-tree/nlcst-affix-emoticon-modifier

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

    utility to find nodes before another node
    1. 67%
    2. 3k
    3. 5
  57. syntax-tree/hast-util-from-dom

    utility to transform a DOM tree to hast
    1. 67%
    2. 334
    3. 6
  58. syntax-tree/nlcst-emoji-modifier

    utility to support emoji in nlcst
    1. 67%
    2. 2k
    3. 2
  59. syntax-tree/mdast-zone

    utility to treat HTML comments as ranges or markers in mdast
    1. 67%
    2. 1k
    3. 11
  60. syntax-tree/hast-util-to-dom

    utility to transform hast to a DOM tree
    1. 67%
    2. 184
    3. 7
  61. syntax-tree/mdast-util-assert

    utility to assert mdast trees
    1. 67%
    2. 1k
    3. 1
  62. syntax-tree/nlcst-emoticon-modifier

    utility to support emoticons in nlcst
    1. 67%
    2. 2k
    3. 2
  63. syntax-tree/hast-util-to-snabbdom

    utility to transform to a Snabbdom tree
    1. 67%
    2. 10
    3. 4
  64. syntax-tree/hast-util-from-selector

    utility to parse CSS selectors to hast nodes
    1. 66%
    2. 5
    3. 0
  65. syntax-tree/mdast-normalize-headings

    utility to make sure there is no more than a single top-level heading in the document
    1. 66%
    2. 358
    3. 4
  66. syntax-tree/unist-builder-blueprint

    utility to transform trees to unist-builder notation
    1. 66%
    2. 89
    3. 5
  67. syntax-tree/unist-util-assert

    utility to assert nodes
    1. 66%
    2. 1k
    3. 3
  68. syntax-tree/nlcst-test

    utility to check assert an nlcst node
    1. 66%
    2. 96
    3. 2
  69. syntax-tree/hast-util-transparent

    utility to check if a node is a transparent element
    1. 66%
    2. 14
    3. 1
  70. syntax-tree/hast-util-labelable

    utility to check whether a node is labelable
    1. 66%
    2. 11
    3. 2
  71. syntax-tree/unist-diff

    Diff two unist trees
    1. 66%
    2. 6
    3. 6
  72. syntax-tree/xastscript

    utility to create xast trees
    1. 66%
    2. 11
    3. 2
  73. syntax-tree/hast-util-to-xast

    utility to transform to xast (xml)
    1. 66%
    2. 14
    3. 1
  74. syntax-tree/hast-util-sectioning

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

    utility to check if a node is interactive
    1. 66%
    2. 14
    3. 0
  76. syntax-tree/hast-util-from-text

    utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 8
    3. 2
  77. syntax-tree/xast-util-from-xml

    utility to parse from XML
    1. 66%
    2. 34
    3. 3
  78. syntax-tree/hast-util-script-supporting

    utility to check if a node is a script-supporting element
    1. 66%
    2. 13
    3. 0
  79. syntax-tree/unist-util-size

    utility to calculate the number of nodes in a tree
    1. 66%
    2. 99
    3. 0
  80. syntax-tree/hast-util-find-and-replace

    utility to find and replace text in a hast tree
    1. 66%
    2. 72
    3. 1
  81. syntax-tree/hast-util-assert

    utility to assert hast nodes
    1. 65%
    2. 11
    3. 0
  82. syntax-tree/xast-util-to-xml

    utility to serialize to XML
    1. 65%
    2. 13
    3. 1
  83. syntax-tree/hast-util-shift-heading

    utility to change heading rank (or depth, level) in hast
    1. 65%
    2. 10
    3. 2
  84. syntax-tree/hast-util-classnames

    utility to merge class names together
    1. 65%
    2. 33
    3. 0
  85. syntax-tree/unist-builder-blueprint-cli

    CLI to transform trees to unist-builder notation
    1. 65%
    2. 82
    3. 1
  86. syntax-tree/hast-util-menu-state

    utility to get the state of a menu element
    1. 65%
    2. 11
    3. 0
  87. syntax-tree/mdast-util-from-quill-delta

    utility to transform Quill delta to mdast
    1. 56%
    2. 5
    3. 2
  88. Find other projects by owner @syntax-tree on GitHub