Pinned Repositories
esast
ECMAScript Abstract Syntax Tree format
hast
Hypertext Abstract Syntax Tree format
hastscript
utility to create hast trees
mdast
Markdown Abstract Syntax Tree format
mdast-util-from-markdown
mdast utility to parse markdown
mdast-util-to-markdown
mdast utility to serialize markdown
nlcst
Natural Language Concrete Syntax Tree format
unist
Universal Syntax Tree used by @unifiedjs
unist-util-visit
utility to visit nodes
xast
Extensible Abstract Syntax Tree
syntax-tree's Repositories
syntax-tree/hast-util-reading-time
utility to estimate the reading time
syntax-tree/estree-util-to-js
estree (and esast) utility to serialize as JavaScript
syntax-tree/esast-util-from-js
estree (and esast) utility to parse from JavaScript
syntax-tree/hast-util-parse-selector
utility to create an element from a simple CSS selector
syntax-tree/hast-util-is-element
utility to check if a node is a (certain) element
syntax-tree/xastscript
utility to create xast trees
syntax-tree/hast-util-from-html-isomorphic
hast utility that turns HTML into a syntax tree (while being small in browsers)
syntax-tree/estree-util-attach-comments
utility to attach comments to estree nodes
syntax-tree/hast-util-heading
utility to check if a node is heading content
syntax-tree/hast-util-heading-rank
utility to get the rank (or depth, level) of headings
syntax-tree/estree-util-visit
esast (and estree) utility to visit nodes
syntax-tree/mdast-util-gfm-task-list-item
mdast extension to parse and serialize GFM task list items
syntax-tree/hast-util-to-nlcst
utility to transform hast to nlcst
syntax-tree/hast-util-whitespace
utility to check if a node is inter-element whitespace
syntax-tree/hast-util-embedded
utility to check if a node is an embedded element
syntax-tree/hast-util-from-text
utility to set the plain-text value of a node according to the `innerText` algorithm
syntax-tree/hast-util-shift-heading
utility to change heading rank (or depth, level) in hast
syntax-tree/hast-util-truncate
utility to truncate the tree to a certain number of characters
syntax-tree/mdast-util-footnote
mdast extension to parse and serialize footnotes
syntax-tree/hast-util-classnames
utility to merge class names together
syntax-tree/hast-util-excerpt
utility to truncate the tree to a comment
syntax-tree/hast-util-labelable
utility to check whether a node is labelable
syntax-tree/hast-util-sectioning
utility to check if a node is a sectioning element
syntax-tree/hast-util-to-parse5
utility to transform hast to Parse5’s AST
syntax-tree/esast-util-from-estree
esast utility to transform from estree
syntax-tree/hast-util-assert
utility to assert hast nodes
syntax-tree/hast-util-has-property
utility to check if a node has a property
syntax-tree/hast-util-transparent
utility to check if a node is a transparent element
syntax-tree/hast-util-interactive
utility to check if a node is interactive
syntax-tree/hast-util-script-supporting
utility to check if a node is a script-supporting element