unifiedjs/unified
☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees- 88%
- 47m
- 4.5k
syntax-tree/unist-util-visit
utility to visit nodes- 85%
- 67m
- 279
syntax-tree/unist-util-visit-parents
utility to recursively walk over unist nodes, with ancestral information- 83%
- 69m
- 67
syntax-tree/unist-util-is
utility to check if a node passes a test- 83%
- 70m
- 38
syntax-tree/mdast-util-to-hast
utility to transform mdast to hast- 82%
- 29m
- 103
syntax-tree/unist-util-stringify-position
utility to serialize a node, position, or point as a human readable location- 82%
- 58m
- 6
syntax-tree/mdast-util-to-string
utility to get the plain text content of an mdast node- 82%
- 54m
- 39
syntax-tree/unist-builder
utility to create a new trees with a nice syntax- 82%
- 12m
- 77
syntax-tree/unist-util-remove-position
utility to remove positions from a tree- 81%
- 21m
- 12
syntax-tree/unist-util-position
utility to get the position of a node- 81%
- 30m
- 8
syntax-tree/unist-util-generated
utility to check if a node is generated- 81%
- 17m
- 4
syntax-tree/hast-util-parse-selector
utility to create an element from a simple CSS selector- 81%
- 23m
- 13
syntax-tree/hast-util-from-parse5
utility to transform Parse5’s AST to hast- 81%
- 16m
- 16
syntax-tree/mdast-util-definitions
utility to find definition nodes in an mdast tree- 80%
- 25m
- 11
syntax-tree/unist-util-remove
utility to remove nodes from a tree- 80%
- 7.7m
- 22
syntax-tree/hast-util-raw
utility to reparse a hast tree- 80%
- 14m
- 11
syntax-tree/mdast-squeeze-paragraphs
utility to remove empty paragraphs from an mdast tree- 80%
- 6m
- 6
syntax-tree/hast-util-whitespace
utility to check if a node is inter-element whitespace- 77%
- 21m
- 4
syntax-tree/hast-util-to-html
utility to serialize hast to HTML- 75%
- 7.2m
- 89
syntax-tree/hast-util-is-element
utility to check if a node is a (certain) element- 75%
- 16m
- 12
syntax-tree/unist-util-find-all-after
utility to find nodes after another node- 75%
- 4.3m
- 6
syntax-tree/hast-util-sanitize
utility to sanitize hast nodes- 74%
- 2.6m
- 50
syntax-tree/mdast-util-compact
utility to make an mdast tree compact- 74%
- 2.8m
- 7
syntax-tree/nlcst-to-string
utility to transform an nlcst tree to a string- 73%
- 2.4m
- 18
syntax-tree/hast-util-to-text
utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 3.5m
- 19
syntax-tree/unist-util-find-after
unist utility to find a node after another node- 73%
- 3.6m
- 7
syntax-tree/unist-util-modify-children
utility to modify direct children of a parent- 72%
- 2.3m
- 11
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings- 72%
- 11m
- 7
syntax-tree/mdast-util-toc
utility to generate a table of contents from an mdast tree- 72%
- 1.1m
- 82
syntax-tree/unist-util-visit-children
unist utility to visit direct children of a parent- 72%
- 2.1m
- 8
syntax-tree/unist-util-inspect
utility to inspect nodes- 72%
- 1.8m
- 27
syntax-tree/unist-util-map
utility to create a new tree by mapping all nodes- 71%
- 437k
- 35
syntax-tree/mdast-comment-marker
utility to parse a comment marker in mdast- 71%
- 843k
- 9
syntax-tree/unist-util-filter
utility to create a new tree with nodes that pass a filter- 71%
- 1.4m
- 18
syntax-tree/mdast-util-heading-style
utility to get the style of an mdast heading- 71%
- 620k
- 5
syntax-tree/mdast-util-to-nlcst
utility to transform mdast to nlcst- 71%
- 475k
- 9
unifiedjs/unified-args
Create CLIs for unified processors- 70%
- 734k
- 32
syntax-tree/hast-util-from-dom
utility to transform a DOM tree to hast- 70%
- 1.6m
- 22
syntax-tree/hast-util-phrasing
utility to check if a node is phrasing content- 70%
- 839k
- 0
syntax-tree/nlcst-search
utility to search for patterns in an nlcst tree- 70%
- 116k
- 16
syntax-tree/nlcst-is-literal
utility to check whether an nlcst node is meant literally- 70%
- 182k
- 9
syntax-tree/mdast-util-heading-range
utility to use headings as ranges in mdast- 69%
- 64k
- 10
syntax-tree/nlcst-normalize
utility to normalize an nlcst word for easier comparison- 69%
- 121k
- 7
syntax-tree/mdast-util-phrasing
utility to check if an mdast node is phrasing content- 69%
- 21m
- 1
syntax-tree/mdast-zone
utility to treat HTML comments as ranges or markers in mdast- 69%
- 14k
- 15
syntax-tree/hast-util-to-nlcst
utility to transform hast to nlcst- 68%
- 103k
- 4
syntax-tree/unist-util-index
utility to index property values or computed keys to nodes- 68%
- 3.4k
- 9
syntax-tree/unist-util-source
utility to get the source of a node or position- 68%
- 48k
- 6
syntax-tree/hast-util-to-dom
utility to transform hast to a DOM tree- 68%
- 20k
- 19
syntax-tree/unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 8k
- 5
syntax-tree/mdast-normalize-headings
utility to make sure there is no more than a single top-level heading in the document- 67%
- 13k
- 6
syntax-tree/nlcst-emoticon-modifier
utility to support emoticons in nlcst- 67%
- 69k
- 2
syntax-tree/nlcst-affix-emoticon-modifier
utility to merge affix emoticons into the previous sentence in nlcst- 67%
- 69k
- 1
syntax-tree/unist-util-find-before
utility to find a node before another node- 67%
- 30k
- 4
syntax-tree/nlcst-emoji-modifier
utility to support emoji in nlcst- 67%
- 69k
- 2
syntax-tree/unist-util-find-all-before
utility to find nodes before another node- 67%
- 44k
- 5
syntax-tree/unist-util-assert
utility to assert nodes- 67%
- 5.4k
- 4
syntax-tree/xastscript
utility to create xast trees- 67%
- 16k
- 12
syntax-tree/xast-util-from-xml
utility to parse from XML- 67%
- 9.7k
- 15
syntax-tree/xast-util-to-xml
utility to serialize to XML- 67%
- 23k
- 3
syntax-tree/mdast-util-assert
utility to assert mdast trees- 67%
- 4.4k
- 0
syntax-tree/hast-util-to-xast
utility to transform to xast (xml)- 67%
- 5.1k
- 4
syntax-tree/unist-util-size
utility to calculate the number of nodes in a tree- 66%
- 131
- 1
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element- 66%
- 44
- 1
syntax-tree/nlcst-test
utility to check assert an nlcst node- 66%
- 154
- 2
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element- 66%
- 7
- 2
syntax-tree/hast-util-labelable
utility to check whether a node is labelable- 66%
- 11
- 2
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 207
- 2
syntax-tree/hast-util-shift-heading
utility to change heading rank (or depth, level) in hast- 66%
- 3.3k
- 2
syntax-tree/hast-util-script-supporting
utility to check if a node is a script-supporting element- 66%
- 32
- 0
syntax-tree/unist-diff
Diff two unist trees- 65%
- 13
- 13
Find other projects matching syntax-tree on GitHub