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

    890 20

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.1k 45

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    775 24

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    210 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
  • 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 68 MIT 7 0 0 Updated Jan 16, 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 25 MIT 6 0 0 Updated Jan 13, 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 4 MIT 1 0 0 Updated Jan 13, 2025
  • nlcst-is-literal Public

    utility to check whether an nlcst node is meant literally

    syntax-tree/nlcst-is-literal’s past year of commit activity
    JavaScript 9 MIT 4 0 0 Updated Jan 3, 2025
  • 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 11 MIT 4 0 0 Updated Jan 3, 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 Jan 3, 2025
  • unist-util-find-before Public

    utility to find a node before another node

    syntax-tree/unist-util-find-before’s past year of commit activity
    JavaScript 4 MIT 2 0 0 Updated Jan 2, 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 96 MIT 19 0 0 Updated Dec 13, 2024
  • unist-util-inspect Public

    utility to inspect nodes

    syntax-tree/unist-util-inspect’s past year of commit activity
    JavaScript 27 MIT 7 0 0 Updated Dec 5, 2024
  • .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 Nov 22, 2024