32 रिपॉजिटरी
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.
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
Implements programmatic navigation through parent, child, and sibling references within the HTML tree.
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.
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.
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.
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.
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.
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.
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.
Cash आधुनिक ब्राउज़रों में HTML तत्वों को चुनने और संशोधित करने के लिए एक हल्का JavaScript लाइब्रेरी है। यह एक चेनेबल एलिमेंट रैपर और DOM मैनिपुलेशन यूटिलिटी के रूप में कार्य करता है, जो ब्राउज़र DOM ऑपरेशंस को प्रबंधित करने के लिए एक न्यूनतम विकल्प प्रदान करता है। लाइब्रेरी DOM नोड्स के लिए एक संग्रह-आधारित रैपर का उपयोग करती है, जिससे एक ही अनुक्रम में कई संशोधन और स्टाइल अपडेट किए जा सकते हैं। इसे छोटे पदचिह्न (footprint) को बनाए रखते हुए इवेंट हैंडलिंग और एलिमेंट प्रबंधन के लिए एक समान API प्रदान करने के लिए डिज़ाइन किया गया है। यह प्रोजेक्ट DOM मैनिपुलेशन क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है, जिसमें एलिमेंट चयन, ट्री ट्रैवर्सल और संरचनात्मक परिवर्तन शामिल हैं। इसमें CSS क्लासेस, एट्रिब्यूट्स और स्टाइल्स को प्रबंधित करने के लिए यूटिलिटीज, साथ ही इवेंट हैंडलिंग, डेटा प्रबंधन और आयाम गणना के लिए सिस्टम शामिल हैं। कोर कार्यक्षमता को कस्टम मेथड्स और साझा यूटिलिटीज जोड़ने के लिए एक प्रोटोटाइप-आधारित तंत्र के माध्यम से विस्तारित किया जा सकता है।
Provides scoped DOM traversal to locate ancestors and siblings relative to the current element selection.
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.
A sizzlin' hot selector engine.
Scopes element selection to a context node or document fragment for efficient queries.
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.
AngleSharp एक HTML5 DOM पार्सर और वेब स्क्रैपिंग फ़्रेमवर्क है जिसे HTML5, SVG और MathML दस्तावेज़ों को W3C अनुपालन दस्तावेज़ ऑब्जेक्ट मॉडल में पार्स करने के लिए डिज़ाइन किया गया है। यह एक प्रोग्रामेटिक HTML जनरेटर और DOM के भीतर विशिष्ट तत्वों को खोजने और क्वेरी करने के लिए एक CSS सेलेक्टर इंजन के रूप में कार्य करता है। यह प्रोजेक्ट वेब इंटरैक्शन को ऑटोमेट करने, URLs नेविगेट करने और फ़ॉर्म सबमिट करने के लिए ब्राउज़र एनवायरनमेंट को सिम्युलेट करने के लिए टूल प्रदान करता है। इसमें अनावश्यक वर्णों को हटाकर वेब एसेट्स के फ़ाइल आकार को कम करने के लिए एक समर्पित HTML और CSS मिनीफ़ायर शामिल है। लाइब्रेरी HTML DOM हेरफेर और वेबसाइटों से संरचित डेटा निकालने का समर्थन करती है। यह एक पार्सिंग पाइपलाइन के माध्यम से मार्कअप के परिवर्तन को संभालती है जिसमें स्पेक-संचालित त्रुटि रिकवरी और पदानुक्रमित दस्तावेज़ निर्माण शामिल है।
Implements structural navigation of document hierarchies using parent, child, and sibling node relationships.
GraphQL-Ruby एक स्ट्रॉन्गली टाइप्ड स्कीमा और समर्पित क्वेरी निष्पादन इंजन के साथ GraphQL APIs बनाने के लिए एक Ruby लाइब्रेरी है। यह एप्लिकेशन ऑब्जेक्ट्स को एक औपचारिक टाइप सिस्टम में मैप करने के लिए एक व्यापक फ्रेमवर्क प्रदान करता है, जो परिभाषित रिजॉल्वर्स के माध्यम से स्ट्रक्चर्ड डेटा फेचिंग को सक्षम बनाता है। यह प्रोजेक्ट उन्नत प्रदर्शन और डिलीवरी तंत्र के साथ खुद को अलग करता है, जिसमें N+1 क्वेरी पैटर्न को रोकने के लिए बैचिंग और कैशिंग के लिए डेटा लोडर शामिल है। यह इंक्रीमेंटल रिस्पॉन्स स्ट्रीमिंग, डिफर्ड क्वेरी रिस्पॉन्स और फाइबर्स का उपयोग करके समानांतर डेटा फेचिंग के माध्यम से उच्च-प्रदर्शन डेटा डिलीवरी का समर्थन करता है। इसके अतिरिक्त, यह Relay कन्वेंशन के लिए नेटिव समर्थन प्रदान करता है, जिसमें कनेक्शन्स और ऑब्जेक्ट आइडेंटिफिकेशन के लिए विशेष हेल्पर्स शामिल हैं। यह लाइब्रेरी API प्रबंधन के एक व्यापक क्षेत्र को कवर करती है, जिसमें फाइन-ग्रेन्ड एक्सेस कंट्रोल, बैकवर्ड कम्पैटिबिलिटी बनाए रखने के लिए स्कीमा वर्शनिंग और सब्सक्रिप्शन के माध्यम से रीयल-टाइम अपडेट शामिल हैं। इसमें सर्वर संसाधनों की सुरक्षा के लिए ट्रैफिक मैनेजमेंट टूल्स भी शामिल हैं, जैसे क्वेरी कॉम्प्लेक्सिटी लिमिटिंग और रिक्वेस्ट रेट लिमिटिंग। डेवलपमेंट और ऑब्जर्वेबिलिटी को AST एनालिसिस टूल्स, निष्पादन ट्रेसिंग और बैच लोडिंग वेरिफिकेशन के लिए विशेष टेस्टिंग यूटिलिटीज के माध्यम से समर्थित किया जाता है।
Uses a visitor pattern to programmatically traverse and modify nodes within the query's abstract syntax tree.
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.
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.
JDA is a Java wrapper for the Discord API, providing a framework for building automated agents and integrating applications with the chat platform. It functions as both a REST API client for managing server entities and a gateway client that maintains persistent WebSocket connections for real-time state updates. The library features a comprehensive voice API module for managing audio streaming, voice channel connectivity, and soundboard integration. It also includes a specialized toolkit for interactive UI design, enabling the creation of slash commands, buttons, select menus, and modal input
Provides utilities to recursively traverse and modify nested interactive message components.
jest-dom Jest के लिए कस्टम मैचर्स और एसेर्शन्स का एक संग्रह है जिसे HTML एलिमेंट स्टेट्स, एक्सेसिबिलिटी और डॉक्यूमेंट ऑब्जेक्ट मॉडल (DOM) गुणों को सत्यापित करने के लिए डिज़ाइन किया गया है। यह ऑटोमेटेड टेस्टिंग के दौरान वेब एलिमेंट्स की संरचनात्मक और विज़ुअल स्थिति को सत्यापित करने के लिए एक विशेष टूलकिट के रूप में कार्य करता है। लाइब्रेरी CSS क्लासेस, एट्रिब्यूट्स और फ़ॉर्म वैलिडिटी की जांच के लिए विशेष फंक्शन्स प्रदान करती है। इसमें ARIA रोल्स, सुलभ नामों और सहायक तकनीकों के साथ कम्पैटिबिलिटी को सत्यापित करने के लिए एसेर्शन्स का एक सुइट शामिल है। इसकी क्षमताएं डॉक्यूमेंट पदानुक्रम के भीतर एलिमेंट की उपस्थिति, दृश्यता और स्थिति के सत्यापन को कवर करती हैं। इसमें वेब फ़ॉर्म स्टेट्स को सत्यापित करने के लिए उपयोगिताएं भी शामिल हैं, जिसमें इनपुट मान, वैधता आवश्यकताएं और इंटरैक्टिव स्टेट्स (जैसे फ़ोकस और टेक्स्ट चयन) शामिल हैं।
Provides utilities to navigate the DOM hierarchy to verify parent-child relationships and element positioning.