unifiedjs/unified
☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees- 88%
- 35m
- 4k
syntax-tree/unist-util-visit
utility to visit nodes- 85%
- 42m
- 216
syntax-tree/unist-util-visit-parents
utility to recursively walk over unist nodes, with ancestral information- 83%
- 43m
- 51
syntax-tree/unist-util-is
utility to check if a node passes a test- 83%
- 43m
- 32
syntax-tree/mdast-util-to-hast
utility to transform mdast to hast- 82%
- 20m
- 83
syntax-tree/unist-util-stringify-position
utility to serialize a node, position, or point as a human readable location- 82%
- 37m
- 5
syntax-tree/mdast-util-to-string
utility to get the plain text content of an mdast node- 82%
- 38m
- 31
syntax-tree/unist-builder
utility to create a new trees with a nice syntax- 82%
- 16m
- 69
syntax-tree/unist-util-remove-position
utility to remove positions from a tree- 81%
- 18m
- 11
syntax-tree/unist-util-position
utility to get the position of a node- 81%
- 21m
- 8
syntax-tree/unist-util-generated
utility to check if a node is generated- 81%
- 20m
- 4
syntax-tree/hast-util-parse-selector
utility to create an element from a simple CSS selector- 81%
- 19m
- 12
syntax-tree/hast-util-from-parse5
utility to transform Parse5’s AST to hast- 81%
- 15m
- 15
syntax-tree/mdast-util-definitions
utility to find definition nodes in an mdast tree- 80%
- 26m
- 9
syntax-tree/unist-util-remove
utility to remove nodes from a tree- 80%
- 11m
- 18
syntax-tree/hast-util-raw
utility to reparse a hast tree- 80%
- 14m
- 8
syntax-tree/mdast-squeeze-paragraphs
utility to remove empty paragraphs from an mdast tree- 80%
- 10m
- 5
syntax-tree/hast-util-whitespace
utility to check if a node is inter-element whitespace- 77%
- 9m
- 4
syntax-tree/hast-util-to-html
utility to serialize hast to HTML- 75%
- 3m
- 69
syntax-tree/hast-util-is-element
utility to check if a node is a (certain) element- 75%
- 3m
- 10
syntax-tree/unist-util-find-all-after
utility to find nodes after another node- 75%
- 5m
- 6
syntax-tree/hast-util-sanitize
utility to sanitize hast nodes- 74%
- 2m
- 41
syntax-tree/mdast-util-compact
utility to make an mdast tree compact- 74%
- 3m
- 4
syntax-tree/nlcst-to-string
utility to transform an nlcst tree to a string- 73%
- 996k
- 17
syntax-tree/hast-util-to-text
utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 1m
- 16
syntax-tree/unist-util-find-after
unist utility to find a node after another node- 73%
- 1m
- 5
syntax-tree/unist-util-modify-children
utility to modify direct children of a parent- 72%
- 1m
- 7
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings- 72%
- 882k
- 5
syntax-tree/mdast-util-toc
utility to generate a table of contents from an mdast tree- 72%
- 838k
- 67
syntax-tree/unist-util-visit-children
unist utility to visit direct children of a parent- 72%
- 932k
- 7
syntax-tree/unist-util-inspect
utility to inspect nodes- 72%
- 845k
- 20
syntax-tree/unist-util-map
utility to create a new tree by mapping all nodes- 71%
- 329k
- 34
syntax-tree/mdast-comment-marker
utility to parse a comment marker in mdast- 71%
- 555k
- 9
syntax-tree/unist-util-filter
utility to create a new tree with nodes that pass a filter- 71%
- 684k
- 11
syntax-tree/mdast-util-heading-style
utility to get the style of an mdast heading- 71%
- 471k
- 4
syntax-tree/mdast-util-to-nlcst
utility to transform mdast to nlcst- 71%
- 468k
- 9
unifiedjs/unified-args
Create CLIs for unified processors- 70%
- 471k
- 29
syntax-tree/hast-util-from-dom
utility to transform a DOM tree to hast- 70%
- 601k
- 22
syntax-tree/hast-util-phrasing
utility to check if a node is phrasing content- 70%
- 182k
- 0
syntax-tree/nlcst-search
utility to search for patterns in an nlcst tree- 70%
- 80k
- 14
syntax-tree/nlcst-is-literal
utility to check whether an nlcst node is meant literally- 70%
- 108k
- 9
syntax-tree/mdast-util-heading-range
utility to use headings as ranges in mdast- 69%
- 55k
- 9
syntax-tree/nlcst-normalize
utility to normalize an nlcst word for easier comparison- 69%
- 81k
- 7
syntax-tree/mdast-util-phrasing
utility to check if an mdast node is phrasing content- 69%
- 6m
- 0
syntax-tree/mdast-zone
utility to treat HTML comments as ranges or markers in mdast- 69%
- 15k
- 15
syntax-tree/hast-util-to-nlcst
utility to transform hast to nlcst- 68%
- 61k
- 4
syntax-tree/unist-util-index
utility to index property values or computed keys to nodes- 68%
- 4k
- 7
syntax-tree/unist-util-source
utility to get the source of a node or position- 68%
- 28k
- 6
syntax-tree/hast-util-to-dom
utility to transform hast to a DOM tree- 68%
- 14k
- 14
syntax-tree/unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 8k
- 3
syntax-tree/mdast-normalize-headings
utility to make sure there is no more than a single top-level heading in the document- 67%
- 10k
- 6
syntax-tree/nlcst-emoticon-modifier
utility to support emoticons in nlcst- 67%
- 25k
- 2
syntax-tree/nlcst-affix-emoticon-modifier
utility to merge affix emoticons into the previous sentence in nlcst- 67%
- 25k
- 1
syntax-tree/unist-util-find-before
utility to find a node before another node- 67%
- 8k
- 4
syntax-tree/nlcst-emoji-modifier
utility to support emoji in nlcst- 67%
- 25k
- 2
syntax-tree/unist-util-find-all-before
utility to find nodes before another node- 67%
- 4k
- 5
syntax-tree/unist-util-assert
utility to assert nodes- 67%
- 4k
- 2
syntax-tree/xastscript
utility to create xast trees- 67%
- 6k
- 7
syntax-tree/xast-util-from-xml
utility to parse from XML- 67%
- 3k
- 10
syntax-tree/xast-util-to-xml
utility to serialize to XML- 67%
- 9k
- 2
syntax-tree/mdast-util-assert
utility to assert mdast trees- 67%
- 1k
- 0
syntax-tree/hast-util-to-xast
utility to transform to xast (xml)- 67%
- 124
- 3
syntax-tree/unist-util-size
utility to calculate the number of nodes in a tree- 66%
- 219
- 0
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element- 66%
- 52
- 1
syntax-tree/nlcst-test
utility to check assert an nlcst node- 66%
- 172
- 2
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element- 66%
- 24
- 2
syntax-tree/hast-util-labelable
utility to check whether a node is labelable- 66%
- 13
- 2
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 375
- 2
syntax-tree/hast-util-shift-heading
utility to change heading rank (or depth, level) in hast- 66%
- 1k
- 2
syntax-tree/hast-util-script-supporting
utility to check if a node is a script-supporting element- 66%
- 23
- 0
syntax-tree/unist-diff
Diff two unist trees- 65%
- 11
- 11
Find other projects matching syntax-tree on GitHub