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/hastscript
utility to create hast trees- 82%
- 24m
- 164
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/mdast-util-from-markdown
mdast utility to parse markdown- 80%
- 39m
- 212
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/hast-util-to-parse5
utility to transform hast to Parse5’s AST- 80%
- 14m
- 2
syntax-tree/mdast-squeeze-paragraphs
utility to remove empty paragraphs from an mdast tree- 80%
- 6m
- 6
syntax-tree/mdast-util-to-markdown
mdast utility to serialize markdown- 78%
- 30m
- 99
syntax-tree/hast-util-whitespace
utility to check if a node is inter-element whitespace- 77%
- 21m
- 4
syntax-tree/mdast-util-find-and-replace
mdast utility to find and replace text in a tree- 76%
- 17m
- 11
syntax-tree/mdast-util-gfm
mdast extension to parse and serialize GFM (GitHub Flavored Markdown)- 76%
- 16m
- 19
syntax-tree/mdast-util-gfm-table
mdast extension to parse and serialize GFM tables- 76%
- 17m
- 13
syntax-tree/mdast-util-gfm-autolink-literal
mdast extension to parse and serialize GFM autolink literals- 75%
- 16m
- 12
syntax-tree/mdast-util-gfm-strikethrough
mdast extension to parse and serialize GFM strikethrough- 75%
- 17m
- 5
syntax-tree/hast-util-to-html
utility to serialize hast to HTML- 75%
- 7.2m
- 88
syntax-tree/mdast-util-gfm-task-list-item
mdast extension to parse and serialize GFM task list items- 75%
- 16m
- 5
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/estree-util-is-identifier-name
Check if something can be an ecmascript (javascript) identifier name- 74%
- 15m
- 3
syntax-tree/hast-util-sanitize
utility to sanitize hast nodes- 74%
- 2.6m
- 50
syntax-tree/estree-util-visit
esast (and estree) utility to visit nodes- 74%
- 7.5m
- 4
syntax-tree/mdast-util-mdx-jsx
mdast extension to parse and serialize MDX JSX- 74%
- 13m
- 24
syntax-tree/mdast-util-compact
utility to make an mdast tree compact- 74%
- 2.8m
- 7
syntax-tree/mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 7.5m
- 22
syntax-tree/unist-util-position-from-estree
unist utility to get a position from an estree node- 73%
- 7.5m
- 0
syntax-tree/mdast-util-mdxjs-esm
mdast extension to parse and serialize MDX.js ESM (import/exports)- 73%
- 13m
- 8
syntax-tree/mdast-util-mdx-expression
mdast extension to parse and serialize MDX or MDX.js expressions- 73%
- 13m
- 4
syntax-tree/mdast-util-frontmatter
mdast extensions to parse and serialize frontmatter (YAML, TOML, etc)- 73%
- 5.5m
- 15
syntax-tree/mdast-util-gfm-footnote
mdast extension to parse and serialize GFM footnotes- 73%
- 13m
- 5
syntax-tree/hast-util-has-property
utility to check if a node has a property- 73%
- 2.8m
- 1
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/estree-util-attach-comments
utility to attach comments to estree nodes- 72%
- 6.1m
- 7
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings- 72%
- 12m
- 7
syntax-tree/estree-util-build-jsx
Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)- 72%
- 6m
- 22
syntax-tree/hast-util-select
utility to addquerySelector
,querySelectorAll
, andmatches
support for hast- 72%
- 1.4m
- 38
syntax-tree/mdast-util-toc
utility to generate a table of contents from an mdast tree- 72%
- 1.1m
- 82
syntax-tree/unist-util-select
utility to select unist nodes with CSS-like selectors- 72%
- 782k
- 61
syntax-tree/hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 6.1m
- 19
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%
- 436k
- 35
syntax-tree/mdast-comment-marker
utility to parse a comment marker in mdast- 71%
- 838k
- 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%
- 619k
- 5
syntax-tree/mdast-util-to-nlcst
utility to transform mdast to nlcst- 71%
- 475k
- 9
syntax-tree/hast-util-to-mdast
utility to transform hast (HTML) to mdast (markdown)- 70%
- 407k
- 38
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%
- 835k
- 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-math
mdast extension to parse and serialize math- 69%
- 1.9m
- 16
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/hast-util-embedded
utility to check if a node is an embedded element- 69%
- 1.1m
- 3
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%
- 49k
- 6
syntax-tree/hast-util-heading
utility to check if a node is heading content- 68%
- 17k
- 6
syntax-tree/mdast-util-directive
mdast extension to parse and serialize generic directives (:cite[smith04]
)- 68%
- 2m
- 14
syntax-tree/hast-util-find-and-replace
utility to find and replace text in a hast tree- 68%
- 253k
- 6
syntax-tree/hast-util-to-dom
utility to transform hast to a DOM tree- 68%
- 21k
- 19
syntax-tree/unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 8.1k
- 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/hast-util-reading-time
utility to estimate the reading time- 67%
- 4k
- 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%
- 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%
- 4.2k
- 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.6k
- 15
syntax-tree/hast-util-from-selector
utility to parse CSS selectors to hast nodes- 67%
- 6.2k
- 2
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%
- 3.2k
- 0
syntax-tree/hast-util-to-xast
utility to transform to xast (xml)- 67%
- 5.1k
- 4
syntax-tree/xast-util-feed
xast utility to build feeds (rss, atom)- 67%
- 1.9k
- 10
syntax-tree/unist-util-size
utility to calculate the number of nodes in a tree- 66%
- 143
- 1
syntax-tree/xast-util-sitemap
xast utility to build a sitemap- 66%
- 368
- 5
syntax-tree/xast-util-to-string
xast utility to get the text value of a node- 66%
- 5.2k
- 4
syntax-tree/esast-util-from-estree
esast utility to transform from estree- 66%
- 906k
- 1
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element- 66%
- 46
- 1
syntax-tree/nlcst-test
utility to check assert an nlcst node- 66%
- 147
- 2
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element- 66%
- 7
- 2
syntax-tree/hast-util-assert
utility to assert hast nodes- 66%
- 48
- 1
syntax-tree/hast-util-labelable
utility to check whether a node is labelable- 66%
- 11
- 2
syntax-tree/hast-util-classnames
utility to merge class names together- 66%
- 194k
- 2
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 196
- 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%
- 31
- 0
syntax-tree/hast-util-interactive
utility to check if a node is interactive- 65%
- 4.7k
- 0
syntax-tree/esast-util-from-js
estree (and esast) utility to parse from JavaScript- 65%
- 908k
- 12
syntax-tree/hast-util-from-html
hast utility to parse from HTML- 65%
- 3.4m
- 29
syntax-tree/unist-diff
Diff two unist trees- 65%
- 13
- 13
syntax-tree/hast-util-truncate
utility to truncate the tree to a certain number of characters- 64%
- 56k
- 3
syntax-tree/hast-util-excerpt
utility to truncate the tree to a comment- 64%
- 56k
- 2
syntax-tree/estree-util-to-js
estree (and esast) utility to serialize as JavaScript- 64%
- 5.9m
- 12
Find other projects by owner @syntax-tree on GitHub