Unified ist eine Syntaxbaum-Verarbeitungs-Engine und ein Content-Ökosystem, das entwickelt wurde, um Textinhalte zu parsen, zu transformieren und zu serialisieren. Es fungiert als Plugin-basierte Content-Pipeline, die Rohtext in strukturierte abstrakte Syntaxbäume (ASTs) unter Verwendung einfacher JavaScript-Objekte für die programmatische Inspektion und Modifikation konvertiert.
Die Hauptfunktionen von unifiedjs/unified sind: Content Transformation Pipelines, Abstract Syntax Tree Parsing, Content Processing, Format Conversions, Content Node Transformers, Abstract Syntax Tree Translations, Manipulation Utilities, Tree Traversal.
Open-Source-Alternativen zu unifiedjs/unified sind unter anderem: dtolnay/syn — syn is a Rust syntax tree parser and token stream converter. It serves as a toolkit for procedural macro development,… benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… commonmark/commonmark.js — Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It… xoofx/markdig — Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a… jonschlinkert/remarkable — Remarkable is an extensible Markdown parser library that implements the CommonMark specification and supports GitHub… remarkjs/remark — Remark is a markdown processor and transformer that converts markdown text into a structured JSON abstract syntax tree…
syn is a Rust syntax tree parser and token stream converter. It serves as a toolkit for procedural macro development, providing a framework to parse Rust source code into structured syntax trees for analysis and transformation. The project enables the manipulation of Rust abstract syntax trees through specialized visitor and folder patterns for traversing and mutating nodes. It provides a bidirectional mapping that allows developers to convert token streams into structured trees and print those trees back into tokens for code generation. The library covers a broad range of syntax analysis ca
Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into abstract syntax trees that can be modified and then printed back into source code. The project focuses on formatting-preserving transformations, storing original whitespace and indentation metadata within syntax tree nodes to reconstruct code without losing its original layout. It also generates character-level source maps to maintain precise correspondences between original input and transformed output. The toolkit includes utilities for syntax tree manipulation using a visito
Commonmark.js is a library designed to parse and render text formatted according to the CommonMark specification. It functions as a document processing pipeline that converts plain text into structured HTML or an abstract syntax tree, enabling developers to programmatically inspect, modify, and transform document elements. The library distinguishes itself through its strict adherence to standardized parsing rules, ensuring consistent and predictable output across different software environments. It provides a robust framework for document tree manipulation, allowing users to traverse, insert,
Markdig is a markdown parser library that converts text into structured HTML, plain text, or other formats using a configurable pipeline. It functions as a CommonMark compliant parser and an abstract syntax tree generator that transforms markdown into a hierarchical tree of block and inline nodes with precise source location mapping. The project is distinguished by a decoupled renderer architecture that separates parsing logic from output generation, enabling the transformation of the syntax tree into non-HTML formats such as LaTeX or XAML. It also serves as a lossless markdown processor by t