Unified 是一个语法树处理引擎和内容生态系统,旨在解析、转换和序列化文本内容。它作为一个基于插件的内容流水线,利用纯 JavaScript 对象将原始文本转换为结构化的抽象语法树,以便进行程序化的检查和修改。
unifiedjs/unified 的主要功能包括:Content Transformation Pipelines, Abstract Syntax Tree Parsing, Content Processing, Format Conversions, Content Node Transformers, Abstract Syntax Tree Translations, Manipulation Utilities, Tree Traversal。
unifiedjs/unified 的开源替代品包括: 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