awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

32 个仓库

Awesome GitHub RepositoriesDocument Tree Traversers

Algorithms for navigating document object model hierarchies to map elements to drawing instructions.

Distinct from Tree Traversal Algorithms: Distinct from general tree traversal: focuses on mapping document structures to visual drawing primitives.

Explore 32 awesome GitHub repositories matching software engineering & architecture · Document Tree Traversers. Refine with filters or upvote what's useful.

Awesome Document Tree Traversers GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • cheeriojs/cheeriocheeriojs 的头像

    cheeriojs/cheerio

    30,386在 GitHub 上查看↗

    Cheerio is an HTML and XML parsing library and server-side DOM implementation. It functions as a markup manipulation tool and CSS selector engine, allowing users to parse, query, and modify HTML or XML documents in non-browser environments. The project provides a DOM-like tree representation of markup strings, enabling programmatic addition, removal, and modification of elements and attributes. It features a prototype-based plugin system that allows the extension of core functionality by adding custom methods to the document prototype. The library covers a broad range of capabilities includi

    Enables navigation of the document hierarchy through recursive traversal of parent, child, and sibling node pointers.

    TypeScriptcheeriodomhacktoberfest
    在 GitHub 上查看↗30,386
  • facebook/lexicalfacebook 的头像

    facebook/lexical

    23,562在 GitHub 上查看↗

    Lexical is a modular rich text editor framework used to build extensible web-based editors. It functions as a state-driven content editor that maintains a serializable, immutable snapshot of document content to ensure predictable updates and accessibility compliance. The framework is distinguished by its plugin-based architecture and customizable node framework, which allow developers to extend editor behavior through specialized content nodes and encapsulated runtime logic. It also includes a collaborative editing engine capable of synchronizing document state across multiple clients in real

    Allows traversing the document node hierarchy using familial relationships to locate specific content.

    TypeScript
    在 GitHub 上查看↗23,562
  • camsong/you-dont-need-jquerycamsong 的头像

    camsong/You-Dont-Need-jQuery

    20,160在 GitHub 上查看↗

    This project is a vanilla JavaScript reference guide and implementation collection designed to replace legacy libraries with native browser patterns. It provides a set of native JavaScript patterns for selecting, modifying, and navigating HTML elements, alongside a web API implementation guide for handling events and styles. The project serves as a reference for implementing asynchronous JavaScript patterns using native promises and fetch for remote data and background tasks. It also includes a client-side utility collection for performing data transformations, type validation, and element me

    Implements programmatic navigation through parent, child, and sibling references within the HTML tree.

    JavaScript
    在 GitHub 上查看↗20,160
  • enzymejs/enzymeE

    enzymejs/enzyme

    19,831在 GitHub 上查看↗

    Enzyme is a testing utility for React components designed to verify their output and behavior in a test environment. It serves as a test harness for UI components, providing tools to render visual elements, manage state transitions, and simulate synthetic events. The library distinguishes itself through multiple rendering modes, including a shallow rendering engine for isolated unit testing and full DOM rendering for testing deep integration. It employs an adapter-based integration system to maintain compatibility across different versions of the underlying framework. The toolkit covers a br

    Implements selector-based tree traversal to locate and verify specific elements in the rendered output.

    JavaScript
    在 GitHub 上查看↗19,831
  • nvim-treesitter/nvim-treesitternvim-treesitter 的头像

    nvim-treesitter/nvim-treesitter

    13,970在 GitHub 上查看↗

    This project provides an integration of Tree-sitter into the Neovim editor to enable structural code analysis. It serves as a framework for structural code navigation, context-aware syntax highlighting, and the management of language-specific parsers. The system distinguishes itself through a multi-language injection handler that identifies and parses embedded languages within a single document. It uses a dedicated parser manager to install, update, and remove grammar definitions and their associated query files. The tool covers several capability areas including incremental text selection,

    Implements incremental selection, logical code folding and automated indentation based on concrete syntax trees.

    Tree-sitter Query
    在 GitHub 上查看↗13,970
  • vercel/satorivercel 的头像

    vercel/satori

    13,028在 GitHub 上查看↗

    Satori is a library that converts HTML and CSS markup into rasterized images. It functions as a server-side rendering engine designed to transform web layouts into visual assets at runtime, ensuring consistent representation across different platforms and social media sharing services. The engine distinguishes itself by utilizing a cross-platform flexbox implementation to calculate element positions and dimensions, mirroring the behavior of modern web browsers without requiring a full browser engine. It processes document structures through a virtual tree traversal and employs a specialized p

    Processes document structures to map HTML elements into primitive drawing instructions.

    TypeScriptcssimageimage-generation
    在 GitHub 上查看↗13,028
  • gregberge/svgrG

    gregberge/svgr

    11,043在 GitHub 上查看↗

    SVGR is a tool that transforms static SVG files into reusable React components for direct rendering within user interface trees. It functions as an AST-based code transformer and build-time asset pipeline, parsing SVG XML into an abstract syntax tree to modify elements before generating JavaScript source code. The project integrates an external optimization engine to strip redundant metadata and minify attributes, ensuring vector images are flexible and easy to style. It uses recursive tree traversal to apply these transformations to all nested graphic elements and employs attribute mapping t

    Uses recursive document tree traversal to apply attribute changes and transformations to nested graphic elements.

    TypeScript
    在 GitHub 上查看↗11,043
  • bytedance/flowgram.aibytedance 的头像

    bytedance/flowgram.ai

    8,146在 GitHub 上查看↗

    Flowgram.ai is a workflow development framework for building AI workflow platforms. It provides a visual drag-and-drop canvas for constructing workflows, an Entity-Component-System (ECS) based document model for structuring workflow nodes as a tree, and a node-based form engine for managing configuration forms with built-in rendering, validation, side effects, and error handling. The framework also includes a workflow execution engine that parses directed graph workflows and runs nodes step by step with state tracking and array iteration. The framework distinguishes itself through a layered r

    Organizes workflow nodes in a tree-based document model with full CRUD and traversal operations.

    TypeScriptaiautomationcoze
    在 GitHub 上查看↗8,146
  • evilstreak/markdown-jsevilstreak 的头像

    evilstreak/markdown-js

    7,679在 GitHub 上查看↗

    markdown-js is a JavaScript markdown parser and converter that transforms markdown text into HTML output. It functions as both a library and a command line interface tool for converting documents. The project is centered on an abstract syntax tree representation, allowing markdown to be parsed into a structured tree for programmatic inspection and modification before the final rendering process. This intermediate representation enables custom markup processing and document transformations. The toolset covers programmatic document parsing, static site generation, and CLI-based file processing

    Allows programmatic traversal and modification of nodes within the internal Markdown representation.

    JavaScript
    在 GitHub 上查看↗7,679
  • fabiospampinato/cashfabiospampinato 的头像

    fabiospampinato/cash

    7,041在 GitHub 上查看↗

    Cash is a lightweight DOM manipulation library and HTML element wrapper designed as an alternative to jQuery for selecting and modifying elements in modern browsers. It functions as a modular DOM framework and JavaScript utility library, providing a system to wrap DOM nodes into actionable collections for batch processing. The project is built with a modular design that supports tree-shaking, allowing build tools to exclude unused methods to minimize the final bundle size. It provides mechanisms for extending the core functionality and collection prototypes to implement reusable plugins and c

    Implements a navigation system to find related DOM nodes using familial relationships and selectors.

    JavaScriptcashdomjavascript
    在 GitHub 上查看↗7,041
  • kenwheeler/cashkenwheeler 的头像

    kenwheeler/cash

    7,039在 GitHub 上查看↗

    Cash 是一个轻量级的 JavaScript 库,用于在现代浏览器中选择和修改 HTML 元素。它作为一个可链式调用的元素包装器和 DOM 操作工具,为管理浏览器 DOM 操作提供了一个极简的替代方案。 该库使用基于集合的 DOM 节点包装器,允许在单个序列中执行多次修改和样式更新。它旨在为事件处理和元素管理提供类似的 API,同时保持较小的体积。 该项目涵盖了广泛的 DOM 操作功能,包括元素选择、树遍历和结构变更。它包括用于管理 CSS 类、属性和样式的工具,以及用于事件处理、数据管理和尺寸计算的系统。 核心功能可以通过基于原型的机制进行扩展,以添加自定义方法和共享工具。

    Provides scoped DOM traversal to locate ancestors and siblings relative to the current element selection.

    JavaScript
    在 GitHub 上查看↗7,039
  • grab/cursor-talk-to-figma-mcpgrab 的头像

    grab/cursor-talk-to-figma-mcp

    6,855在 GitHub 上查看↗

    This is a Figma MCP server that exposes document manipulation capabilities to AI assistants through the Model Context Protocol. It functions as a bridge between AI tools and Figma, enabling programmatic creation, reading, updating, and deletion of design elements including frames, text nodes, components, and connectors. The server provides AI-powered design generation that translates natural language prompts into complete UI screens and design elements within Figma. It includes a design annotation system for adding, updating, and retrieving markdown-supported annotations on nodes, along with

    Walks the Figma document tree recursively to locate, read, and modify design nodes.

    JavaScriptagentagenticagentic-ai
    在 GitHub 上查看↗6,855
  • jquery/sizzlejquery 的头像

    jquery/sizzle

    6,306在 GitHub 上查看↗

    A sizzlin' hot selector engine.

    Scopes element selection to a context node or document fragment for efficient queries.

    JavaScript
    在 GitHub 上查看↗6,306
  • googlechromelabs/projectvisbugGoogleChromeLabs 的头像

    GoogleChromeLabs/ProjectVisBug

    5,746在 GitHub 上查看↗

    VisBug is an in-browser design tool that lets you inspect, edit, and manipulate live webpage elements directly, without touching source code. It functions as a browser design inspector, providing visual controls and keyboard shortcuts for real-time style inspection, element manipulation, and device simulation. The tool offers design-tool-inspired interactions for navigating the DOM as grouped layers, enabling direct selection and editing of nested components. It includes capabilities for drag-and-drop image replacement, live style inspection with computed properties and accessibility informat

    Moves selection between sibling and child elements using keyboard shortcuts for efficient DOM traversal.

    JavaScript
    在 GitHub 上查看↗5,746
  • anglesharp/anglesharpAngleSharp 的头像

    AngleSharp/AngleSharp

    5,499在 GitHub 上查看↗

    AngleSharp 是一个 HTML5 DOM 解析器和 Web 抓取框架,旨在将 HTML5、SVG 和 MathML 文档解析为符合 W3C 标准的文档对象模型。它作为一个程序化 HTML 生成器和 CSS 选择器引擎,用于查询和定位 DOM 中的特定元素。 该项目提供模拟浏览器环境的工具,以自动化 Web 交互、导航 URL 和提交表单。它包括一个专门的 HTML 和 CSS 压缩器,通过删除不必要的字符来减小 Web 资源的文件大小。 该库支持 HTML DOM 操作和从网站提取结构化数据。它通过包含规范驱动的错误恢复和分层文档构建的解析流水线处理标记转换。

    Implements structural navigation of document hierarchies using parent, child, and sibling node relationships.

    C#angle-bracketanglesharpc-sharp
    在 GitHub 上查看↗5,499
  • rmosolgo/graphql-rubyrmosolgo 的头像

    rmosolgo/graphql-ruby

    5,448在 GitHub 上查看↗

    GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add

    Uses a visitor pattern to programmatically traverse and modify nodes within the query's abstract syntax tree.

    Ruby
    在 GitHub 上查看↗5,448
  • xoofx/markdigxoofx 的头像

    xoofx/markdig

    5,127在 GitHub 上查看↗

    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

    Implements depth-first search traversal of the document tree for analysis and modification.

    C#commonmarkcommonmark-parsingcsharp
    在 GitHub 上查看↗5,127
  • chakra-ui/arkchakra-ui 的头像

    chakra-ui/ark

    5,004在 GitHub 上查看↗

    Ark is a headless UI component library that delivers accessible, cross-framework primitives with behavior governed by finite state machines. It provides unstyled components that encapsulate logic and accessibility — including full keyboard navigation, focus management, and WAI-ARIA support — while leaving visual styling entirely to the consumer. Components expose scoped data attributes for CSS targeting and use state machines to produce predictable, testable interactive behavior across every state transition. The library distinguishes itself through a state propagation model that distributes

    Delivers built-in tree navigation methods for moving between parent, child, and sibling nodes.

    TypeScriptcomponentsdesign-systemheadless
    在 GitHub 上查看↗5,004
  • discord-jda/jdadiscord-jda 的头像

    discord-jda/JDA

    4,665在 GitHub 上查看↗

    JDA 是一个 Discord API 的 Java 包装器,提供了一个用于构建自动化智能体并将应用程序与聊天平台集成的框架。它既作为用于管理服务器实体的 REST API 客户端,也作为维护持久化 WebSocket 连接以获取实时状态更新的网关客户端。 该库具有全面的语音 API 模块,用于管理音频流、语音频道连接和音板集成。它还包括一个用于交互式 UI 设计的专用工具包,支持创建斜杠命令、按钮、选择菜单和模态输入表单。 广泛地,该项目涵盖了通过自动化规则管理进行的社区审核、通过频道和角色配置进行的服务器管理,以及使用分片(sharding)分配事件负载的流量管理。它还提供了用于富媒体内容创建和详细成员资料检索的实用工具。

    Provides utilities to recursively traverse and modify nested interactive message components.

    Javaapiapi-wrapperbot
    在 GitHub 上查看↗4,665
  • testing-library/jest-domtesting-library 的头像

    testing-library/jest-dom

    4,597在 GitHub 上查看↗

    jest-dom 是一个为 Jest 设计的自定义匹配器和断言集合,旨在验证 HTML 元素状态、可访问性及文档对象模型(DOM)属性。它作为一个专门的工具包,用于在自动化测试期间验证 Web 元素的结构和视觉状态。 该库提供了用于检查 CSS 类、属性和表单有效性的专用函数。它包含一套用于验证 ARIA 角色、可访问名称以及与辅助技术兼容性的断言。 其功能涵盖了验证元素在文档层级中的存在性、可见性和定位。它还包括用于验证 Web 表单状态的实用程序,包括输入值、有效性要求以及焦点和文本选择等交互状态。

    Provides utilities to navigate the DOM hierarchy to verify parent-child relationships and element positioning.

    JavaScript
    在 GitHub 上查看↗4,597
上一个12下一个
  1. Home
  2. Software Engineering & Architecture
  3. Tree Traversal Algorithms
  4. Document Tree Traversers

探索子标签

  • AST Hierarchy TraversersAlgorithms for tracking a visitor's position in an abstract syntax tree to provide access to ancestor nodes. **Distinct from Document Tree Traversers:** Focuses on tracking ancestor access in a source code tree rather than mapping DOM elements to drawing instructions.
  • AST Node ProcessorsUtilities for extracting data or applying modifications to nodes within a document tree. **Distinct from Document Tree Traversers:** Focuses on programmatic node modification of a parsed tree rather than visual drawing instructions
  • Component Tree SelectorsSearch rules for locating specific components or HTML elements within a rendered UI tree. **Distinct from Document Tree Traversers:** Focuses on selector-based querying for testing assertions, rather than mapping document structures to drawing instructions.
  • DOM Hierarchy Navigators1 个子标签Utilities for navigating the Document Object Model using familial node relationships. **Distinct from Document Tree Traversers:** Focuses on navigating the actual browser DOM tree rather than mapping to drawing instructions.
  • Document Tree MutationsProgrammatic modification of the internal document structure before final serialization. **Distinct from Document Tree Traversers:** Distinct from Document Tree Traversers: focuses on modifying the structure (e.g., creating summaries) rather than just navigating it.
  • Figma Document Traversers1 个子标签Walks the Figma document tree recursively to locate, read, and modify nodes by type, ID, or selection state. **Distinct from Document Tree Traversers:** Distinct from Document Tree Traversers: specifically traverses Figma document trees, not general DOM or drawing instruction trees.
  • Hierarchy TraversersAlgorithms for walking parent-child relationships and element collections in document trees. **Distinct from Document Tree Traversers:** Distinct from general document tree traversers by focusing on general DOM hierarchy inspection rather than visual mappings.
  • Scoped DOM TraversalsLimits element selection to a given context node or document fragment for scoped queries. **Distinct from Document Tree Traversers:** Distinct from Document Tree Traversers: scopes traversal to a fragment, not full-document navigation.
  • Structural NavigationNavigating document hierarchies using familial node relationships. **Distinct from Document Tree Traversers:** Focuses on general tree walking via parent/child/sibling pointers rather than visual rendering instructions
  • Tree Cursor TrackingMechanisms for tracking the current position and accessing contextual ancestors or siblings during tree traversal. **Distinct from Document Tree Traversers:** Focuses on positional context and cursor state rather than mapping DOM elements to drawing instructions.
  • Workflow Document TreesStructures workflow nodes in a parent-child tree with add, remove, traverse, and serialization operations. **Distinct from Document Tree Traversers:** Distinct from Document Tree Traversers: focuses on workflow document structure management rather than rendering traversal.