unified

Explore/Topic/syntax-tree

Projects matching syntax-tree

  1. unifiedjs/unified

    ☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees
    1. 86%
    2. 17m
    3. 2k
  2. syntax-tree/unist-util-visit

    utility to visit nodes
    1. 84%
    2. 16m
    3. 76
  3. syntax-tree/unist-util-is

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

    utility to recursively walk over unist nodes, with ancestral information
    1. 81%
    2. 16m
    3. 15
  5. syntax-tree/unist-util-remove-position

    utility to remove positions from a tree
    1. 79%
    2. 13m
    3. 7
  6. syntax-tree/unist-util-stringify-position

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

    utility to transform mdast to hast
    1. 78%
    2. 4m
    3. 33
  8. syntax-tree/unist-builder

    utility to create a new trees with a nice syntax
    1. 78%
    2. 4m
    3. 30
  9. syntax-tree/mdast-util-compact

    utility to make an mdast tree compact
    1. 77%
    2. 9m
    3. 3
  10. syntax-tree/hast-util-parse-selector

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

    utility to find nodes after another node
    1. 77%
    2. 6m
    3. 5
  12. syntax-tree/mdast-util-definitions

    utility to find definition nodes in an mdast tree
    1. 77%
    2. 5m
    3. 4
  13. syntax-tree/mdast-util-to-string

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

    utility to get the position of a node
    1. 77%
    2. 4m
    3. 5
  15. syntax-tree/unist-util-generated

    utility to check if a node is generated
    1. 77%
    2. 4m
    3. 2
  16. syntax-tree/unist-util-remove

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

    utility to transform Parse5’s AST to hast
    1. 76%
    2. 5m
    3. 7
  18. syntax-tree/mdast-squeeze-paragraphs

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

    utility to serialize hast to HTML
    1. 75%
    2. 1m
    3. 25
  20. syntax-tree/nlcst-to-string

    utility to transform an nlcst tree to a string
    1. 74%
    2. 798k
    3. 14
  21. syntax-tree/mdast-util-toc

    utility to generate a table of contents from an mdast tree
    1. 74%
    2. 1m
    3. 31
  22. syntax-tree/hast-util-raw

    utility to reparse a hast tree
    1. 74%
    2. 4m
    3. 2
  23. syntax-tree/hast-util-is-element

    utility to check if a node is a (certain) element
    1. 74%
    2. 1m
    3. 5
  24. syntax-tree/hast-util-whitespace

    utility to check if a node is inter-element whitespace
    1. 73%
    2. 1m
    3. 3
  25. syntax-tree/unist-util-visit-children

    unist utility to visit direct children of a parent
    1. 73%
    2. 784k
    3. 4
  26. syntax-tree/unist-util-modify-children

    utility to modify direct children of a parent
    1. 73%
    2. 1m
    3. 4
  27. syntax-tree/hast-util-sanitize

    utility to sanitize hast nodes
    1. 73%
    2. 510k
    3. 17
  28. syntax-tree/mdast-util-to-nlcst

    utility to transform mdast to nlcst
    1. 72%
    2. 777k
    3. 6
  29. syntax-tree/unist-util-inspect

    utility to inspect nodes
    1. 72%
    2. 287k
    3. 15
  30. syntax-tree/unist-util-map

    utility to create a new tree by mapping all nodes
    1. 72%
    2. 395k
    3. 12
  31. syntax-tree/nlcst-search

    utility to search for patterns in an nlcst tree
    1. 71%
    2. 86k
    3. 9
  32. syntax-tree/unist-util-find-after

    unist utility to find a node after another node
    1. 70%
    2. 100k
    3. 3
  33. syntax-tree/mdast-util-phrasing

    utility to check if an mdast node is phrasing content
    1. 70%
    2. 143k
    3. 0
  34. syntax-tree/nlcst-is-literal

    utility to check whether an nlcst node is meant literally
    1. 70%
    2. 93k
    3. 6
  35. syntax-tree/mdast-comment-marker

    utility to parse a comment marker in mdast
    1. 70%
    2. 239k
    3. 7
  36. syntax-tree/unist-util-filter

    utility to create a new tree with nodes that pass a filter
    1. 70%
    2. 39k
    3. 6
  37. syntax-tree/mdast-util-heading-style

    utility to get the style of an mdast heading
    1. 70%
    2. 160k
    3. 3
  38. syntax-tree/nlcst-normalize

    utility to normalize an nlcst word for easier comparison
    1. 70%
    2. 82k
    3. 6
  39. syntax-tree/hast-util-to-text

    utility to get the plain-text value of a node according to the innerText algorithm
    1. 70%
    2. 82k
    3. 9
  40. syntax-tree/hast-util-phrasing

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

    utility to transform hast to nlcst
    1. 69%
    2. 60k
    3. 3
  42. syntax-tree/mdast-util-heading-range

    utility to use headings as ranges in mdast
    1. 69%
    2. 10k
    3. 7
  43. syntax-tree/mdast-zone

    utility to treat HTML comments as ranges or markers in mdast
    1. 69%
    2. 8k
    3. 11
  44. unifiedjs/unified-args

    Create CLIs for unified processors
    1. 69%
    2. 236k
    3. 18
  45. syntax-tree/unist-util-parents

    unist utility to add references to parents on nodes in a tree
    1. 68%
    2. 7k
    3. 2
  46. syntax-tree/unist-util-find-before

    utility to find a node before another node
    1. 68%
    2. 6k
    3. 3
  47. syntax-tree/unist-util-find-all-before

    utility to find nodes before another node
    1. 68%
    2. 5k
    3. 5
  48. syntax-tree/unist-util-source

    utility to get the source of a node or position
    1. 68%
    2. 7k
    3. 4
  49. syntax-tree/hast-util-from-dom

    utility to transform a DOM tree to hast
    1. 68%
    2. 4k
    3. 7
  50. syntax-tree/unist-util-index

    utility to index property values or computed keys to nodes
    1. 68%
    2. 1k
    3. 5
  51. syntax-tree/unist-util-assert

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

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

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

    utility to assert mdast trees
    1. 67%
    2. 464
    3. 1
  55. 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. 631
    3. 4
  56. syntax-tree/nlcst-emoji-modifier

    utility to support emoji in nlcst
    1. 67%
    2. 7k
    3. 2
  57. syntax-tree/hast-util-to-dom

    utility to transform hast to a DOM tree
    1. 67%
    2. 306
    3. 7
  58. syntax-tree/unist-util-size

    utility to calculate the number of nodes in a tree
    1. 67%
    2. 1k
    3. 0
  59. syntax-tree/xast-util-from-xml

    utility to parse from XML
    1. 67%
    2. 322
    3. 3
  60. syntax-tree/unist-builder-blueprint

    utility to transform trees to unist-builder notation
    1. 67%
    2. 33
    3. 6
  61. syntax-tree/xast-util-to-xml

    utility to serialize to XML
    1. 66%
    2. 53
    3. 1
  62. syntax-tree/hast-util-heading-rank

    utility to get the rank (or depth, level) of headings
    1. 66%
    2. 298
    3. 3
  63. syntax-tree/nlcst-test

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

    utility to check if a node is a transparent element
    1. 66%
    2. 18
    3. 1
  65. syntax-tree/unist-builder-blueprint-cli

    CLI to transform trees to unist-builder notation
    1. 66%
    2. 28
    3. 1
  66. syntax-tree/xastscript

    utility to create xast trees
    1. 66%
    2. 18
    3. 2
  67. syntax-tree/hast-util-labelable

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

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

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

    utility to set the plain-text value of a node according to the innerText algorithm
    1. 66%
    2. 9
    3. 2
  71. syntax-tree/hast-util-to-xast

    utility to transform to xast (xml)
    1. 66%
    2. 6
    3. 1
  72. syntax-tree/hast-util-script-supporting

    utility to check if a node is a script-supporting element
    1. 66%
    2. 10
    3. 0
  73. syntax-tree/unist-diff

    Diff two unist trees
    1. 65%
    2. 8
    3. 9
  74. syntax-tree/hast-util-menu-state

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

    utility to transform Quill delta to mdast
    1. 54%
    2. 9
    3. 3
  76. Find other projects matching syntax-tree on GitHub