syntax-tree/unist-util-visit
utility to visit nodes- 85%
- 63m
- 282
syntax-tree/unist-util-visit-parents
utility to recursively walk over unist nodes, with ancestral information- 83%
- 66m
- 67
syntax-tree/unist-util-is
utility to check if a node passes a test- 83%
- 67m
- 38
syntax-tree/mdast-util-to-hast
utility to transform mdast to hast- 82%
- 28m
- 104
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%
- 56m
- 6
syntax-tree/mdast-util-to-string
utility to get the plain text content of an mdast node- 82%
- 53m
- 39
syntax-tree/unist-builder
utility to create a new trees with a nice syntax- 82%
- 11m
- 77
syntax-tree/unist-util-remove-position
utility to remove positions from a tree- 81%
- 20m
- 12
syntax-tree/unist-util-position
utility to get the position of a node- 81%
- 29m
- 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%
- 23m
- 11
syntax-tree/mdast-util-from-markdown
mdast utility to parse markdown- 80%
- 38m
- 214
syntax-tree/unist-util-remove
utility to remove nodes from a tree- 80%
- 7.2m
- 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%
- 5.5m
- 6
syntax-tree/mdast-util-to-markdown
mdast utility to serialize markdown- 78%
- 30m
- 100
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%
- 16m
- 5
syntax-tree/hast-util-to-html
utility to serialize hast to HTML- 75%
- 7.6m
- 92
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%
- 14m
- 12
syntax-tree/unist-util-find-all-after
utility to find nodes after another node- 75%
- 4.1m
- 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.7m
- 50
syntax-tree/estree-util-visit
esast (and estree) utility to visit nodes- 74%
- 7.3m
- 4
syntax-tree/mdast-util-mdx-jsx
mdast extension to parse and serialize MDX JSX- 74%
- 12m
- 24
syntax-tree/mdast-util-compact
utility to make an mdast tree compact- 74%
- 2.9m
- 7
syntax-tree/mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)- 73%
- 7.2m
- 22
syntax-tree/unist-util-position-from-estree
unist utility to get a position from an estree node- 73%
- 7.2m
- 0
syntax-tree/mdast-util-mdxjs-esm
mdast extension to parse and serialize MDX.js ESM (import/exports)- 73%
- 12m
- 8
syntax-tree/mdast-util-mdx-expression
mdast extension to parse and serialize MDX or MDX.js expressions- 73%
- 12m
- 4
syntax-tree/mdast-util-frontmatter
mdast extensions to parse and serialize frontmatter (YAML, TOML, etc)- 73%
- 5.3m
- 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%
- 5.9m
- 7
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings- 72%
- 9.2m
- 7
syntax-tree/estree-util-build-jsx
Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)- 72%
- 5.8m
- 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.2m
- 83
syntax-tree/unist-util-select
utility to select unist nodes with CSS-like selectors- 72%
- 732k
- 62
syntax-tree/hast-util-to-estree
hast utility to transform to estree (JavaScript AST) JSX- 72%
- 5.9m
- 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.7m
- 27
syntax-tree/unist-util-map
utility to create a new tree by mapping all nodes- 71%
- 408k
- 35
syntax-tree/mdast-comment-marker
utility to parse a comment marker in mdast- 71%
- 921k
- 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%
- 650k
- 5
syntax-tree/mdast-util-to-nlcst
utility to transform mdast to nlcst- 71%
- 460k
- 9
syntax-tree/hast-util-to-mdast
utility to transform hast (HTML) to mdast (markdown)- 70%
- 416k
- 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%
- 840k
- 0
syntax-tree/nlcst-search
utility to search for patterns in an nlcst tree- 70%
- 109k
- 16
syntax-tree/nlcst-is-literal
utility to check whether an nlcst node is meant literally- 70%
- 171k
- 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%
- 58k
- 10
syntax-tree/nlcst-normalize
utility to normalize an nlcst word for easier comparison- 69%
- 115k
- 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%
- 15k
- 15
syntax-tree/hast-util-to-nlcst
utility to transform hast to nlcst- 68%
- 98k
- 4
syntax-tree/unist-util-index
utility to index property values or computed keys to nodes- 68%
- 3.1k
- 9
syntax-tree/unist-util-source
utility to get the source of a node or position- 68%
- 43k
- 6
syntax-tree/hast-util-heading
utility to check if a node is heading content- 68%
- 19k
- 6
syntax-tree/mdast-util-directive
mdast extension to parse and serialize generic directives (:cite[smith04]
)- 68%
- 1.9m
- 14
syntax-tree/hast-util-find-and-replace
utility to find and replace text in a hast tree- 68%
- 248k
- 6
syntax-tree/hast-util-to-dom
utility to transform hast to a DOM tree- 68%
- 16k
- 19
syntax-tree/unist-util-parents
unist utility to add references to parents on nodes in a tree- 67%
- 7.9k
- 5
syntax-tree/mdast-normalize-headings
utility to make sure there is no more than a single top-level heading in the document- 67%
- 11k
- 6
syntax-tree/hast-util-reading-time
utility to estimate the reading time- 67%
- 4.4k
- 56
syntax-tree/nlcst-emoticon-modifier
utility to support emoticons in nlcst- 67%
- 68k
- 2
syntax-tree/nlcst-affix-emoticon-modifier
utility to merge affix emoticons into the previous sentence in nlcst- 67%
- 68k
- 1
syntax-tree/unist-util-find-before
utility to find a node before another node- 67%
- 24k
- 4
syntax-tree/nlcst-emoji-modifier
utility to support emoji in nlcst- 67%
- 68k
- 2
syntax-tree/unist-util-find-all-before
utility to find nodes before another node- 67%
- 43k
- 5
syntax-tree/unist-util-assert
utility to assert nodes- 67%
- 7.3k
- 4
syntax-tree/xastscript
utility to create xast trees- 67%
- 11k
- 12
syntax-tree/xast-util-from-xml
utility to parse from XML- 67%
- 9.4k
- 16
syntax-tree/hast-util-from-selector
utility to parse CSS selectors to hast nodes- 67%
- 6.9k
- 2
syntax-tree/xast-util-to-xml
utility to serialize to XML- 67%
- 17k
- 3
syntax-tree/mdast-util-assert
utility to assert mdast trees- 67%
- 6.3k
- 0
syntax-tree/hast-util-to-xast
utility to transform to xast (xml)- 67%
- 2.9k
- 4
syntax-tree/xast-util-feed
xast utility to build feeds (rss, atom)- 67%
- 2.1k
- 10
syntax-tree/unist-util-size
utility to calculate the number of nodes in a tree- 66%
- 107
- 1
syntax-tree/xast-util-sitemap
xast utility to build a sitemap- 66%
- 308
- 5
syntax-tree/xast-util-to-string
xast utility to get the text value of a node- 66%
- 4.7k
- 4
syntax-tree/esast-util-from-estree
esast utility to transform from estree- 66%
- 1.2m
- 1
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element- 66%
- 39
- 1
syntax-tree/nlcst-test
utility to check assert an nlcst node- 66%
- 67
- 2
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element- 66%
- 11
- 2
syntax-tree/hast-util-assert
utility to assert hast nodes- 66%
- 44
- 1
syntax-tree/hast-util-labelable
utility to check whether a node is labelable- 66%
- 10
- 2
syntax-tree/hast-util-classnames
utility to merge class names together- 66%
- 202k
- 2
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to theinnerText
algorithm- 66%
- 416
- 2
syntax-tree/hast-util-shift-heading
utility to change heading rank (or depth, level) in hast- 66%
- 3.9k
- 2
syntax-tree/hast-util-script-supporting
utility to check if a node is a script-supporting element- 66%
- 32
- 0
syntax-tree/hast-util-interactive
utility to check if a node is interactive- 65%
- 6.8k
- 0
syntax-tree/esast-util-from-js
estree (and esast) utility to parse from JavaScript- 65%
- 1.2m
- 13
syntax-tree/hast-util-from-html
hast utility to parse from HTML- 65%
- 3.5m
- 29
syntax-tree/unist-diff
Diff two unist trees- 65%
- 21
- 13
syntax-tree/hast-util-truncate
utility to truncate the tree to a certain number of characters- 64%
- 52k
- 3
syntax-tree/hast-util-excerpt
utility to truncate the tree to a comment- 64%
- 52k
- 2
syntax-tree/estree-util-to-js
estree (and esast) utility to serialize as JavaScript- 64%
- 5.7m
- 12
Find other projects by owner @syntax-tree on GitHub