Pinned Repositories
awesome-syntax-tree
Curated list of awesome syntax-tree, unist, hast, xast, mdast, esast, nlcst resources
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
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
Hypertext Abstract Syntax Tree format
syntax-tree/unist-util-visit
utility to visit nodes
syntax-tree/mdast-util-from-markdown
mdast utility to parse markdown
syntax-tree/hastscript
utility to create hast trees
syntax-tree/mdast-util-to-hast
utility to transform mdast to hast
syntax-tree/hast-util-to-html
utility to serialize hast to HTML
syntax-tree/mdast-util-toc
utility to generate a table of contents from an mdast tree
syntax-tree/unist-util-visit-parents
utility to recursively walk over unist nodes, with ancestral information
syntax-tree/unist-util-select
utility to select unist nodes with CSS-like selectors
syntax-tree/hast-util-sanitize
utility to sanitize hast nodes
syntax-tree/hast-util-to-jsx-runtime
hast utility to transform to preact, react, solid, svelte, vue, etc
syntax-tree/mdast-util-to-string
utility to get the plain text content of an mdast node
syntax-tree/hast-util-to-mdast
utility to transform hast (HTML) to mdast (markdown)
syntax-tree/unist-util-is
utility to check if a node passes a test
syntax-tree/hast-util-select
utility to add `querySelector`, `querySelectorAll`, and `matches` support for hast
syntax-tree/unist-util-inspect
utility to inspect nodes
syntax-tree/estree-util-build-jsx
Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)
syntax-tree/mdast-util-mdx-jsx
mdast extension to parse and serialize MDX JSX
syntax-tree/hast-util-to-text
utility to get the plain-text value of a node according to the `innerText` algorithm
syntax-tree/mdast-util-mdx
mdast extension to parse and serialize MDX (or MDX.js)
syntax-tree/nlcst-to-string
utility to transform an nlcst tree to a string
syntax-tree/mdast-zone
utility to treat HTML comments as ranges or markers in mdast
syntax-tree/mdast-util-directive
mdast extension to parse and serialize generic directives (`:cite[smith04]`)
syntax-tree/mdast-util-gfm-table
mdast extension to parse and serialize GFM tables
syntax-tree/hast-util-raw
utility to reparse a hast tree
syntax-tree/mdast-util-to-nlcst
utility to transform mdast to nlcst
syntax-tree/mdast-util-mdxjs-esm
mdast extension to parse and serialize MDX.js ESM (import/exports)
syntax-tree/hast-util-find-and-replace
utility to find and replace text in a hast tree
syntax-tree/mdast-util-mdx-expression
mdast extension to parse and serialize MDX or MDX.js expressions
syntax-tree/mdast-util-phrasing
utility to check if an mdast node is phrasing content