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

    908 21

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.2k 45

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    792 24

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    213 10

  5. xast xast Public

    Extensible Abstract Syntax Tree

    70 2

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    53 1

Repositories

Showing 10 of 140 repositories
  • 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 17 MIT 6 0 0 Updated Feb 27, 2025
  • mdast-util-from-markdown Public

    mdast utility to parse markdown

    syntax-tree/mdast-util-from-markdown’s past year of commit activity
    JavaScript 227 MIT 20 1 0 Updated Feb 27, 2025
  • .github Public

    Community health files for syntax-tree, unist, hast, xast, mdast, and nlcst

    syntax-tree/.github’s past year of commit activity
    6 8 1 1 Updated Feb 25, 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 60 MIT 3 0 0 Updated Feb 25, 2025
  • 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 20 ISC 8 0 0 Updated Feb 19, 2025
  • hast-util-to-xast Public

    utility to transform to xast (xml)

    syntax-tree/hast-util-to-xast’s past year of commit activity
    JavaScript 4 MIT 1 0 0 Updated Feb 19, 2025
  • hast-util-from-parse5 Public

    utility to transform Parse5’s AST to hast

    syntax-tree/hast-util-from-parse5’s past year of commit activity
    JavaScript 16 MIT 8 0 0 Updated Feb 19, 2025
  • 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 40 MIT 1 0 0 Updated Feb 19, 2025
  • 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 20 MIT 2 0 0 Updated Feb 19, 2025
  • hast-util-to-html Public

    utility to serialize hast to HTML

    syntax-tree/hast-util-to-html’s past year of commit activity
    JavaScript 99 MIT 19 0 0 Updated Feb 19, 2025