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

    884 19

  2. mdast mdast Public

    Markdown Abstract Syntax Tree format

    1.1k 45

  3. hast hast Public

    Hypertext Abstract Syntax Tree format

    771 25

  4. nlcst nlcst Public

    Natural Language Concrete Syntax Tree format

    206 10

  5. xast xast Public

    Extensible Abstract Syntax Tree

    68 2

  6. esast esast Public

    ECMAScript Abstract Syntax Tree format

    52 1

Repositories

Showing 10 of 140 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 94 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 6 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
  • hast-util-to-mdast Public

    utility to transform hast (HTML) to mdast (markdown)

    syntax-tree/hast-util-to-mdast’s past year of commit activity
    JavaScript 38 MIT 16 0 0 Updated Nov 19, 2024
  • hast-util-from-selector Public

    utility to parse CSS selectors to hast nodes

    syntax-tree/hast-util-from-selector’s past year of commit activity
    JavaScript 2 MIT 1 0 0 Updated Nov 19, 2024
  • hast-util-from-dom Public

    utility to transform a DOM tree to hast

    syntax-tree/hast-util-from-dom’s past year of commit activity
    JavaScript 22 ISC 4 0 0 Updated Nov 19, 2024
  • 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 Nov 19, 2024
  • 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 102 MIT 21 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 217 MIT 20 1 0 Updated Oct 25, 2024