Skip to content
@syntax-tree

syntax-tree

πŸŒ²πŸŒ²πŸŒ²πŸŒ³πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŒ²πŸŒ³πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŽ„πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸ»πŸŒ³πŸŒ³πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸŒ²πŸŽ„πŸŒ²πŸŒ³πŸŒ²πŸŒ²πŸŒ³πŸŒ³πŸŒ³

syntax-tree

syntax-tree is an organization that contains 100+ projects that deal with syntax trees based on unist. These trees typically deal with content: markdown (mdast), HTML (hast), natural language (nlcst), XML (xast), but also JavaScript (esast).

  • to learn unist, see its readme
  • you can use syntax trees without having to deal with them, by using unified and its plugins

unified

syntax-tree is part of the unified collective, which brings together organisations that work with content as structured data.

Get involved

This community has a code of conduct. You must follow it when interacting with the community.

Pinned Loading

  1. unist unist Public

    Universal Syntax Tree used by @unifiedjs

    1k 30

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.5k 50

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    913 29

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    233 11

  5. xast xast Public

    Extensible Abstract Syntax Tree

    94 3

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    58 2

Repositories

Showing 10 of 140 repositories
  • mdast-util-to-markdown Public

    mdast utility to serialize markdown

    syntax-tree/mdast-util-to-markdown's past year of commit activity
    JavaScript 142 MIT 37 0 0 Updated Oct 27, 2026
  • hast-util-to-jsx-runtime Public

    hast utility to transform to preact, react, solid, svelte, vue, etc

    syntax-tree/hast-util-to-jsx-runtime's past year of commit activity
    JavaScript 90 MIT 7 0 1 Updated Oct 25, 2026
  • hast-util-to-text Public

    utility to get the plain-text value of a node according to the `innerText` algorithm

    syntax-tree/hast-util-to-text's past year of commit activity
    JavaScript 25 MIT 4 0 0 Updated Oct 25, 2026
  • hast-util-find-and-replace Public

    utility to find and replace text in a hast tree

    syntax-tree/hast-util-find-and-replace's past year of commit activity
    JavaScript 9 MIT 2 0 0 Updated Oct 24, 2026
  • mdast-util-find-and-replace Public

    mdast utility to find and replace text in a tree

    syntax-tree/mdast-util-find-and-replace's past year of commit activity
    JavaScript 14 MIT 6 0 0 Updated Oct 24, 2026
  • unist-util-visit Public

    utility to visit nodes

    syntax-tree/unist-util-visit's past year of commit activity
    JavaScript 360 MIT 23 0 0 Updated Oct 24, 2026
  • unist-util-visit-parents Public

    utility to recursively walk over unist nodes, with ancestral information

    syntax-tree/unist-util-visit-parents's past year of commit activity
    JavaScript 82 MIT 8 0 0 Updated Oct 24, 2026
  • mdast-util-gfm-autolink-literal Public

    mdast extension to parse and serialize GFM autolink literals

    syntax-tree/mdast-util-gfm-autolink-literal's past year of commit activity
    JavaScript 16 MIT 22 0 1 Updated Oct 4, 2026
  • mdast-util-directive Public

    mdast extension to parse and serialize generic directives (`:cite[smith04]`)

    syntax-tree/mdast-util-directive's past year of commit activity
    JavaScript 20 MIT 10 1 3 Updated Oct 3, 2026
  • mdast-util-from-markdown Public

    mdast utility to parse markdown

    syntax-tree/mdast-util-from-markdown's past year of commit activity
    JavaScript 294 MIT 28 1 0 Updated Oct 3, 2026