syntax-tree/unist-util-visit
utility to visit nodes- 85%
- 76m
- 309
syntax-tree/unist-util-visit-parents
utility to recursively walk over unist nodes, with ancestral information- 83%
- 80m
- 73
syntax-tree/unist-util-is
utility to check if a node passes a test- 83%
- 81m
- 41
syntax-tree/mdast-util-to-hast
utility to transform mdast to hast- 82%
- 40m
- 110
syntax-tree/hastscript
utility to create hast trees- 82%
- 33m
- 182
syntax-tree/unist-util-stringify-position
utility to serialize a node, position, or point as a human readable location- 82%
- 75m
- 6
syntax-tree/mdast-util-to-string
utility to get the plain text content of an mdast node- 82%
- 67m
- 40
syntax-tree/unist-builder
utility to create a new trees with a nice syntax- 82%
- 13m
- 80
syntax-tree/unist-util-remove-position
utility to remove positions from a tree- 81%
- 23m
- 12
syntax-tree/unist-util-position
utility to get the position of a node- 81%
- 42m
- 8
syntax-tree/unist-util-generated
utility to check if a node is generated- 81%
- 19m
- 4
syntax-tree/hast-util-parse-selector
utility to create an element from a simple CSS selector- 81%
- 32m
- 13
syntax-tree/hast-util-from-parse5
utility to transform Parse5’s AST to hast- 81%
- 22m
- 16
syntax-tree/mdast-util-definitions
utility to find definition nodes in an mdast tree- 80%
- 26m
- 11
syntax-tree/unist-util-remove
utility to remove nodes from a tree- 80%
- 9.3m
- 23
syntax-tree/hast-util-raw
utility to reparse a hast tree- 80%
- 19m
- 13
syntax-tree/hast-util-to-parse5
utility to transform hast to Parse5’s AST- 80%
- 18m
- 2
syntax-tree/mdast-squeeze-paragraphs
utility to remove empty paragraphs from an mdast tree- 80%
- 6.7m
- 7
syntax-tree/hast-util-whitespace
utility to check if a node is inter-element whitespace- 77%
- 32m
- 4
syntax-tree/hast-util-to-html
utility to serialize hast to HTML- 75%
- 12m
- 105
syntax-tree/hast-util-is-element
utility to check if a node is a (certain) element- 75%
- 14m
- 12
syntax-tree/unist-util-find-all-after
utility to find nodes after another node- 75%
- 4.6m
- 7
syntax-tree/estree-util-is-identifier-name
Check if something can be an ecmascript (javascript) identifier name- 74%
- 23m
- 3
syntax-tree/hast-util-sanitize
utility to sanitize hast nodes- 74%
- 3.6m
- 55
syntax-tree/estree-util-visit
esast (and estree) utility to visit nodes- 74%
- 10m
- 5
syntax-tree/mdast-util-mdx-jsx
mdast extension to parse and serialize MDX JSX- 74%
- 21m
- 26
syntax-tree/mdast-util-compact
utility to make an mdast tree compact- 74%
- 3.4m
- 7
syntax-tree/mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 10m
- 23
syntax-tree/unist-util-position-from-estree
unist utility to get a position from an estree node- 73%
- 10m
- 0
syntax-tree/mdast-util-gfm-footnote
mdast extension to parse and serialize GFM footnotes- 73%
- 21m
- 5
syntax-tree/hast-util-has-property
utility to check if a node has a property- 73%
- 5.2m
- 1
syntax-tree/nlcst-to-string
utility to transform an nlcst tree to a string- 73%
- 3.7m
- 19
syntax-tree/hast-util-to-text
utility to get the plain-text value of a node according to theinnerText
algorithm- 73%
- 6.4m
- 21
syntax-tree/unist-util-find-after
unist utility to find a node after another node- 73%
- 6.5m
- 7
syntax-tree/unist-util-modify-children
utility to modify direct children of a parent- 72%
- 3.6m
- 11
syntax-tree/estree-util-attach-comments
utility to attach comments to estree nodes- 72%
- 8.4m
- 8
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings- 72%
- 6.4m
- 6
syntax-tree/estree-util-build-jsx
Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)- 72%
- 8.1m
- 23
syntax-tree/hast-util-select
utility to addquerySelector
,querySelectorAll
, andmatches
support for hast- 72%
- 2.4m
- 41
syntax-tree/mdast-util-toc
utility to generate a table of contents from an mdast tree- 72%
- 1.4m
- 88
syntax-tree/unist-util-select
utility to select unist nodes with CSS-like selectors- 72%
- 848k
- 67
syntax-tree/hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 8.5m
- 21
syntax-tree/unist-util-visit-children
unist utility to visit direct children of a parent- 72%
- 3.4m
- 8
syntax-tree/unist-util-inspect
utility to inspect nodes- 72%
- 1.9m
- 29
syntax-tree/unist-util-map
utility to create a new tree by mapping all nodes- 71%
- 689k
- 34
syntax-tree/mdast-comment-marker
utility to parse a comment marker in mdast- 71%
- 920k
- 9
syntax-tree/unist-util-filter
utility to create a new tree with nodes that pass a filter- 71%
- 2.3m
- 20
syntax-tree/mdast-util-heading-style
utility to get the style of an mdast heading- 71%
- 630k
- 5
syntax-tree/mdast-util-to-nlcst
utility to transform mdast to nlcst- 71%
- 526k
- 9
syntax-tree/hast-util-to-mdast
utility to transform hast (HTML) to mdast (markdown)- 70%
- 935k
- 41
syntax-tree/hast-util-from-dom
utility to transform a DOM tree to hast- 70%
- 2.8m
- 22
syntax-tree/hast-util-phrasing
utility to check if a node is phrasing content- 70%
- 1.6m
- 0
syntax-tree/nlcst-search
utility to search for patterns in an nlcst tree- 70%
- 125k
- 16
syntax-tree/nlcst-is-literal
utility to check whether an nlcst node is meant literally- 70%
- 169k
- 9
syntax-tree/mdast-util-heading-range
utility to use headings as ranges in mdast- 69%
- 85k
- 10
syntax-tree/nlcst-normalize
utility to normalize an nlcst word for easier comparison- 69%
- 133k
- 7
syntax-tree/hast-util-embedded
utility to check if a node is an embedded element- 69%
- 2m
- 3
syntax-tree/mdast-util-phrasing
utility to check if an mdast node is phrasing content- 69%
- 32m
- 1
syntax-tree/mdast-zone
utility to treat HTML comments as ranges or markers in mdast- 69%
- 12k
- 16
syntax-tree/hast-util-to-nlcst
utility to transform hast to nlcst- 68%
- 133k
- 4
syntax-tree/unist-util-index
utility to index property values or computed keys to nodes- 68%
- 2.5k
- 9
syntax-tree/unist-util-source
utility to get the source of a node or position- 68%
- 63k
- 6
syntax-tree/hast-util-heading
utility to check if a node is heading content- 68%
- 19k
- 6
syntax-tree/hast-util-find-and-replace
utility to find and replace text in a hast tree- 68%
- 403k
- 6
syntax-tree/hast-util-to-dom
utility to transform hast to a DOM tree- 68%
- 14k
- 20
syntax-tree/unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 8.3k
- 5
syntax-tree/mdast-normalize-headings
utility to make sure there is no more than a single top-level heading in the document- 67%
- 63k
- 6
syntax-tree/hast-util-reading-time
utility to estimate the reading time- 67%
- 5.7k
- 56
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%
- 21k
- 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%
- 82k
- 5
syntax-tree/unist-util-assert
utility to assert nodes- 67%
- 1.6k
- 4
syntax-tree/xastscript
utility to create xast trees- 67%
- 10k
- 12
syntax-tree/xast-util-from-xml
utility to parse from XML- 67%
- 9.4k
- 17
syntax-tree/hast-util-from-selector
utility to parse CSS selectors to hast nodes- 67%
- 18k
- 2
syntax-tree/xast-util-to-xml
utility to serialize to XML- 67%
- 34k
- 3
syntax-tree/mdast-util-assert
utility to assert mdast trees- 67%
- 1.1k
- 0
syntax-tree/hast-util-to-xast
utility to transform to xast (xml)- 67%
- 18k
- 4
syntax-tree/xast-util-feed
xast utility to build feeds (rss, atom)- 67%
- 2k
- 10
syntax-tree/unist-util-size
utility to calculate the number of nodes in a tree- 66%
- 227
- 1
syntax-tree/xast-util-sitemap
xast utility to build a sitemap- 66%
- 167
- 5
syntax-tree/esast-util-from-estree
esast utility to transform from estree- 66%
- 3.7m
- 1
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element- 66%
- 41
- 1
syntax-tree/nlcst-test
utility to check assert an nlcst node- 66%
- 37
- 2
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element- 66%
- 2
- 2
syntax-tree/hast-util-assert
utility to assert hast nodes- 66%
- 18
- 1
syntax-tree/hast-util-labelable
utility to check whether a node is labelable- 66%
- 5
- 2
syntax-tree/hast-util-classnames
utility to merge class names together- 66%
- 322k
- 2
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 432
- 3
syntax-tree/hast-util-shift-heading
utility to change heading rank (or depth, level) in hast- 66%
- 3.2k
- 3
syntax-tree/hast-util-script-supporting
utility to check if a node is a script-supporting element- 66%
- 27
- 0
syntax-tree/hast-util-interactive
utility to check if a node is interactive- 65%
- 37k
- 0
syntax-tree/esast-util-from-js
estree (and esast) utility to parse from JavaScript- 65%
- 3.7m
- 13
syntax-tree/hast-util-from-html
hast utility to parse from HTML- 65%
- 6.4m
- 33
syntax-tree/unist-diff
Diff two unist trees- 65%
- 15
- 13
syntax-tree/hast-util-truncate
utility to truncate the tree to a certain number of characters- 64%
- 50k
- 3
syntax-tree/hast-util-excerpt
utility to truncate the tree to a comment- 64%
- 49k
- 2
syntax-tree/estree-util-to-js
estree (and esast) utility to serialize as JavaScript- 64%
- 8.1m
- 14
Find other projects by owner @syntax-tree on GitHub