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

    877 19

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.1k 45

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    757 25

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    205 10

  5. xast xast Public

    Extensible Abstract Syntax Tree

    66 2

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    50 1

Repositories

Showing 10 of 140 repositories
  • hast-util-raw Public

    utility to reparse a hast tree

    syntax-tree/hast-util-raw’s past year of commit activity
    JavaScript 11 MIT 4 0 0 Updated Nov 14, 2024
  • mdast-util-to-markdown Public

    mdast utility to serialize markdown

    syntax-tree/mdast-util-to-markdown’s past year of commit activity
    JavaScript 99 MIT 20 3 0 Updated Nov 4, 2024
  • mdast-util-from-markdown Public

    mdast utility to parse markdown

    syntax-tree/mdast-util-from-markdown’s past year of commit activity
    JavaScript 212 MIT 20 1 0 Updated Oct 25, 2024
  • hast-util-sanitize Public

    utility to sanitize hast nodes

    syntax-tree/hast-util-sanitize’s past year of commit activity
    JavaScript 50 MIT 20 1 (1 issue needs help) 0 Updated Oct 25, 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 55 MIT 3 0 1 Updated Oct 25, 2024
  • 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 38 MIT 1 0 0 Updated Oct 11, 2024
  • esast Public

    ECMAScript Abstract Syntax Tree format

    syntax-tree/esast’s past year of commit activity
    50 1 0 0 Updated Oct 4, 2024
  • xast Public

    Extensible Abstract Syntax Tree

    syntax-tree/xast’s past year of commit activity
    66 2 0 0 Updated Oct 4, 2024
  • nlcst Public

    Natural Language Concrete Syntax Tree format

    syntax-tree/nlcst’s past year of commit activity
    205 10 0 0 Updated Oct 4, 2024
  • hast Public

    Hypertext Abstract Syntax Tree format

    syntax-tree/hast’s past year of commit activity
    757 25 0 0 Updated Oct 4, 2024