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. unistunistPublic

    Universal Syntax Tree used by @unifiedjs

    925 22

  2. mdastmdastPublic

    Markdown Abstract Syntax Tree format

    1.2k 44

  3. hasthastPublic

    Hypertext Abstract Syntax Tree format

    812 25

  4. nlcstnlcstPublic

    Natural Language Concrete Syntax Tree format

    219 10

  5. xastxastPublic

    Extensible Abstract Syntax Tree

    76 2

  6. esastesastPublic

    ECMAScript Abstract Syntax Tree format

    54 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 12 MIT 4 0 0 UpdatedApr 21, 2025
  • 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 67 MIT 4 0 0 UpdatedMar 5, 2025
  • mdast-util-from-markdown Public

    mdast utility to parse markdown

    syntax-tree/mdast-util-from-markdown’s past year of commit activity
    JavaScript 244 MIT 21 1 0 UpdatedMar 5, 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 UpdatedMar 3, 2025
  • mdast-util-directive Public

    mdast extension to parse and serialize generic directives (`:cite[smith04]`)

    syntax-tree/mdast-util-directive’s past year of commit activity
    JavaScript 17 MIT 6 0 0 UpdatedFeb 27, 2025
  • . Public

    Community health files for syntax-tree, unist, hast, xast, mdast, and nlcst

    syntax-tree/.’s past year of commit activity
    6 8 1 1 UpdatedFeb 25, 2025
  • hast-util-to-dom Public

    utility to transform hast to a DOM tree

    syntax-tree/hast-util-to-dom’s past year of commit activity
    JavaScript 20 ISC 8 0 0 UpdatedFeb 19, 2025
  • hast-util-to-xast Public

    utility to transform to xast (xml)

    syntax-tree/hast-util-to-xast’s past year of commit activity
    JavaScript 4 MIT 1 0 0 UpdatedFeb 19, 2025
  • 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 UpdatedFeb 19, 2025
  • 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 41 MIT 1 0 0 UpdatedFeb 19, 2025

Most used topics

Loading…