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 49

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    915 28

  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

    59 2

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 2 0 0 Updated Dec 5, 2026
  • hast-util-to-dom Public

    utility to transform hast to a DOM tree

    syntax-tree/hast-util-to-dom's past year of commit activity
    JavaScript 22 ISC 7 0 0 Updated Dec 5, 2026
  • hast-util-select Public

    utility to add `querySelector`, `querySelectorAll`, and `matches` support for hast

    syntax-tree/hast-util-select's past year of commit activity
    JavaScript 43 MIT 2 0 0 Updated Dec 5, 2026
  • unist-util-select Public

    utility to select unist nodes with CSS-like selectors

    syntax-tree/unist-util-select's past year of commit activity
    JavaScript 71 MIT 12 0 0 Updated Dec 5, 2026
  • hast-util-to-estree Public

    hast utility to transform to estree (JavaScript AST) JSX

    syntax-tree/hast-util-to-estree's past year of commit activity
    JavaScript 19 MIT 3 0 0 Updated Dec 5, 2026
  • hast-util-raw Public

    utility to reparse a hast tree

    syntax-tree/hast-util-raw's past year of commit activity
    JavaScript 14 MIT 8 0 0 Updated Dec 5, 2026
  • mdast-util-from-markdown Public

    mdast utility to parse markdown

    syntax-tree/mdast-util-from-markdown's past year of commit activity
    JavaScript 298 MIT 30 1 0 Updated Dec 4, 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 91 MIT 6 0 0 Updated Dec 4, 2026
  • mdast-util-to-markdown Public

    mdast utility to serialize markdown

    syntax-tree/mdast-util-to-markdown's past year of commit activity
    JavaScript 149 MIT 40 0 0 Updated Dec 4, 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 17 MIT 24 0 1 Updated Nov 20, 2026

Top languages

Loading…

Most used topics

Loading…