7 个仓库
Navigating 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
Explore 7 awesome GitHub repositories matching software engineering & architecture · Structural Navigation. Refine with filters or upvote what's useful.
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.
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.
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
Provides mechanisms for navigating the document hierarchy using familial node relationships.
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.
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.
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.
Sprint 是一个轻量级的 DOM 操作和事件处理库。它提供了一组最小的实用程序,用于选择、修改和遍历浏览器文档对象模型中的元素。 该库利用选择器引擎使用类似 CSS 的模式和位置索引来隔离特定的文档节点。它将原始 DOM 元素封装在包装对象内,以提供用于更新元素属性、样式和内容的一致 API。 该工具集涵盖了用于附加和分离交互处理程序的浏览器事件管理,以及用于通过父、子和兄弟关系定位相关节点的文档树导航。
Implements structural navigation of document hierarchies using familial node relationships like parents and siblings.