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

    849 19

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1k 44

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    719 24

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    200 9

  5. xast xast Public

    Extensible Abstract Syntax Tree

    62 2

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    46 1

Repositories

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

    utility to reparse a hast tree

    syntax-tree/hast-util-raw’s past year of commit activity
    JavaScript 9 MIT 4 0 0 Updated Jul 1, 2024
  • mdast-util-to-hast Public

    utility to transform mdast to hast

    syntax-tree/mdast-util-to-hast’s past year of commit activity
    JavaScript 99 MIT 42 0 0 Updated Jun 7, 2024
  • mdast-util-toc Public

    utility to generate a table of contents from an mdast tree

    syntax-tree/mdast-util-toc’s past year of commit activity
    JavaScript 77 MIT 12 0 0 Updated Jun 2, 2024
  • mdast-util-from-markdown Public

    mdast utility to parse markdown

    syntax-tree/mdast-util-from-markdown’s past year of commit activity
    JavaScript 195 MIT 19 1 0 Updated May 27, 2024
  • hast-util-to-html Public

    utility to serialize hast to HTML

    syntax-tree/hast-util-to-html’s past year of commit activity
    JavaScript 80 MIT 21 0 0 Updated May 1, 2024
  • mdast-util-to-nlcst Public

    utility to transform mdast to nlcst

    syntax-tree/mdast-util-to-nlcst’s past year of commit activity
    JavaScript 9 MIT 1 0 0 Updated Apr 30, 2024
  • nlcst-to-string Public

    utility to transform an nlcst tree to a string

    syntax-tree/nlcst-to-string’s past year of commit activity
    JavaScript 18 MIT 5 0 0 Updated Apr 30, 2024
  • mdast-util-to-string Public

    utility to get the plain text content of an mdast node

    syntax-tree/mdast-util-to-string’s past year of commit activity
    JavaScript 36 MIT 9 0 0 Updated Apr 30, 2024
  • unist-util-visit Public

    utility to visit nodes

    syntax-tree/unist-util-visit’s past year of commit activity
    JavaScript 261 MIT 20 0 0 Updated Apr 30, 2024
  • 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 61 MIT 7 0 0 Updated Apr 30, 2024