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

πŸ‘‰ Note: By interacting with this organization or community you agree to abide by our code of conduct.

Pinned Loading

  1. unist unist Public

    Universal Syntax Tree used by @unifiedjs

    864 19

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.1k 45

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    742 25

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    200 9

  5. xast xast Public

    Extensible Abstract Syntax Tree

    63 2

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    47 1

Repositories

Showing 10 of 139 repositories
  • hast-util-to-html Public

    utility to serialize hast to HTML

    syntax-tree/hast-util-to-html’s past year of commit activity
    JavaScript 84 MIT 20 0 0 Updated Sep 16, 2024
  • 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 4 MIT 0 0 0 Updated Sep 13, 2024
  • mdast-util-mdxjs-esm Public

    mdast extension to parse and serialize MDX.js ESM (import/exports)

    syntax-tree/mdast-util-mdxjs-esm’s past year of commit activity
    JavaScript 8 MIT 0 0 0 Updated Sep 13, 2024
  • 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 23 MIT 4 0 0 Updated Sep 13, 2024
  • mdast-zone Public

    utility to treat HTML comments as ranges or markers in mdast

    syntax-tree/mdast-zone’s past year of commit activity
    JavaScript 15 MIT 2 0 0 Updated Sep 5, 2024
  • estree-util-scope Public

    Check what’s defined in an estree scope

    syntax-tree/estree-util-scope’s past year of commit activity
    JavaScript 8 MIT 0 0 0 Updated Aug 29, 2024
  • estree-util-build-jsx Public

    Transform JSX in estrees to function calls (for react, preact, and most hyperscript interfaces)

    syntax-tree/estree-util-build-jsx’s past year of commit activity
    JavaScript 22 MIT 3 0 0 Updated Aug 23, 2024
  • hast-util-from-html Public

    hast utility to parse from HTML

    syntax-tree/hast-util-from-html’s past year of commit activity
    JavaScript 28 MIT 1 0 0 Updated Aug 22, 2024
  • 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 8 MIT 6 0 0 Updated Aug 19, 2024
  • 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 51 MIT 3 0 2 Updated Jul 16, 2024