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

    963 22

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.3k 43

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    868 27

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    227 10

  5. xast xast Public

    Extensible Abstract Syntax Tree

    88 2

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    56 1

Repositories

Showing 10 of 140 repositories
  • hast-util-to-parse5 Public

    utility to transform hast to Parse5’s AST

    syntax-tree/hast-util-to-parse5’s past year of commit activity
    JavaScript 2 MIT 3 0 0 Updated Dec 4, 2025
  • mdast-util-to-hast Public

    utility to transform mdast to hast

    syntax-tree/mdast-util-to-hast’s past year of commit activity
    JavaScript 116 MIT 45 0 0 Updated Nov 23, 2025
  • mdast-util-mdx-expression Public

    mdast extension to parse and serialize MDX or MDX.js expressions

    syntax-tree/mdast-util-mdx-expression’s past year of commit activity
    JavaScript 5 MIT 1 0 0 Updated Nov 19, 2025
  • mdast-util-mdx-jsx Public

    mdast extension to parse and serialize MDX JSX

    syntax-tree/mdast-util-mdx-jsx’s past year of commit activity
    JavaScript 28 MIT 6 0 0 Updated Nov 19, 2025
  • unist-util-is Public

    utility to check if a node passes a test

    syntax-tree/unist-util-is’s past year of commit activity
    JavaScript 42 MIT 8 0 0 Updated Oct 22, 2025
  • unist-util-visit Public

    utility to visit nodes

    syntax-tree/unist-util-visit’s past year of commit activity
    JavaScript 332 MIT 21 1 1 Updated Oct 20, 2025
  • 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 78 MIT 7 0 0 Updated Oct 16, 2025
  • hast-util-raw Public

    utility to reparse a hast tree

    syntax-tree/hast-util-raw’s past year of commit activity
    JavaScript 12 MIT 4 0 0 Updated Apr 21, 2025
  • 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 81 MIT 4 0 0 Updated Mar 5, 2025
  • mdast-util-from-markdown Public

    mdast utility to parse markdown

    syntax-tree/mdast-util-from-markdown’s past year of commit activity
    JavaScript 276 MIT 25 2 1 Updated Mar 5, 2025