awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
fb55 avatar

fb55/htmlparser2

0
View on GitHub↗
4,774 stars·398 forks·TypeScript·MIT·6 vuesfeedic.com/htmlparser2↗

Htmlparser2

htmlparser2 est une collection d'outils pour le parsing de balisage haute performance, la manipulation DOM et le traitement de flux incrémental. Il fonctionne comme un parseur HTML et XML qui convertit les chaînes de balisage en arbres d'objets structurés, aux côtés d'un parseur de balisage en flux conçu pour le traitement efficace en mémoire de grands documents.

Le projet inclut une bibliothèque de manipulation DOM pour interroger, modifier et sérialiser des arbres de modèle objet de document. Il fournit également un parseur de flux web pour extraire des métadonnées structurées et des entrées à partir de flux RSS, RDF et Atom.

La bibliothèque couvre de vastes capacités en parsing de données, incluant la conversion de documents en arbres DOM et l'exécution de workflows de web scraping. Ces outils permettent la recherche et la modification de structures de documents parsées avant qu'elles ne soient reconverties en chaînes.

Features

  • HTML and XML Parsing - High-performance library for extracting and processing data from HTML and XML markup documents.
  • DOM Tree Construction - Converts markup strings into a structured object tree with support for XML mode and character indices.
  • DOM Manipulation - Provides a suite of tools for parsing and programmatically manipulating HTML/DOM in server-side environments.
  • Streaming Parsers - Implements a memory-efficient parser that processes large markup documents incrementally.
  • XML and HTML Document Parsers - Fast and forgiving parser that converts HTML and XML content into in-memory document trees.
  • State-Machine Parsers - Uses a state-machine based approach to convert input streams into tokens for complex HTML and XML syntax.
  • Stream-Based Text Processing - Consumes markup data incrementally through a writable interface to process large documents without full memory loading.
  • DOM Tree Construction - Transforms a sequence of parsed tokens into a hierarchical Document Object Model for programmatic use.
  • Node Querying - Provides tools for searching parsed document trees using IDs, tags, and custom filters to retrieve content.
  • DOM Manipulation Libraries - Ships a comprehensive toolset for selecting, modifying, and serializing document object model trees.
  • DOM Serialization - Converts a modified structured document object model back into an HTML or XML string.
  • Incremental Parsing - Offers incremental parsing of documents using callbacks to process data in chunks.
  • Stream-Based Parsing - Provides event-driven parsing for large XML and HTML files to minimize memory consumption.
  • Feed Parsing Libraries - Provides a library for decoding and processing various web feed formats like RSS, RDF, and Atom.
  • Large Scale XML Processing - Processes massive markup files using streaming and callbacks to avoid high memory usage.
  • Syndication Feed Parsers - Extracts structured metadata and entries from RSS, RDF, and Atom syndication feeds.
  • Event-Driven Callbacks - Implements a callback-driven mechanism that triggers events upon encountering specific markup tokens.
  • Web Scraping - Provides the parsing foundations for extracting structured data from websites and web feeds.
  • Parsing Tools - HTML and XML parser.

Historique des stars

Graphique de l'historique des stars pour fb55/htmlparser2Graphique de l'historique des stars pour fb55/htmlparser2

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait fb55/htmlparser2 ?

htmlparser2 est une collection d'outils pour le parsing de balisage haute performance, la manipulation DOM et le traitement de flux incrémental. Il fonctionne comme un parseur HTML et XML qui convertit les chaînes de balisage en arbres d'objets structurés, aux côtés d'un parseur de balisage en flux conçu pour le traitement efficace en mémoire de grands documents.

Quelles sont les fonctionnalités principales de fb55/htmlparser2 ?

Les fonctionnalités principales de fb55/htmlparser2 sont : HTML and XML Parsing, DOM Tree Construction, DOM Manipulation, Streaming Parsers, XML and HTML Document Parsers, State-Machine Parsers, Stream-Based Text Processing, Node Querying.

Quelles sont les alternatives open-source à fb55/htmlparser2 ?

Les alternatives open-source à fb55/htmlparser2 incluent : inikulin/parse5 — parse5 is a WHATWG HTML parser and serializer for Node.js. It transforms HTML strings into a document object model and… scinfu/swiftsoup — SwiftSoup is a cross-platform HTML processing library for Swift that converts raw HTML or XML strings and files into a… sparklemotion/nokogiri — Nokogiri is an XML and HTML parsing library that builds navigable document trees from strings, files, or URLs using… tmpvar/jsdom — jsdom is a Node.js implementation of web standards that functions as a headless browser emulator. It provides a… martinblech/xmltodict — xmltodict is a Python library that provides bidirectional serialization between XML documents and dictionaries. It… symfony/dom-crawler — This project is an HTML and XML DOM parser designed for loading and navigating the structure of web documents to…

Alternatives open source à Htmlparser2

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Htmlparser2.
  • inikulin/parse5Avatar de inikulin

    inikulin/parse5

    3,903Voir sur GitHub↗

    parse5 is a WHATWG HTML parser and serializer for Node.js. It transforms HTML strings into a document object model and converts those trees back into valid HTML strings, following the logic defined by the HTML Living Standard. The project functions as a streaming HTML processor, using incremental parsing to handle large documents in chunks. It includes an HTML5 compliant tokenizer that uses a state-machine approach to break input into tokens according to official web specifications. The toolset covers HTML document parsing, serialization, and real-time rewriting via streams. These capabiliti

    TypeScript
    Voir sur GitHub↗3,903
  • scinfu/swiftsoupAvatar de scinfu

    scinfu/SwiftSoup

    5,087Voir sur GitHub↗

    SwiftSoup is a cross-platform HTML processing library for Swift that converts raw HTML or XML strings and files into a structured document object model. It provides the core infrastructure to parse web content into a traversable tree, enabling programmatic access to page elements across iOS, macOS, and Linux. The library features a CSS selector engine for data extraction and a whitelist-based sanitization system to remove unsafe tags and attributes from user-submitted content. It optimizes repetitive document queries through memoized query caching. The project covers DOM manipulation for upd

    Swift
    Voir sur GitHub↗5,087
  • sparklemotion/nokogiriAvatar de sparklemotion

    sparklemotion/nokogiri

    6,236Voir sur GitHub↗

    Nokogiri is an XML and HTML parsing library that builds navigable document trees from strings, files, or URLs using native C parsers for speed and standards compliance. It provides a CSS selector engine that translates CSS3 selectors into XPath expressions for querying nodes, an XPath query interface with namespace support, a document manipulation toolkit for modifying parsed documents, XSD schema validation, and XSLT transformation capabilities. The library wraps libxml2 and libxslt C libraries with Ruby bindings for high-performance parsing, and integrates Google's Gumbo parser for standard

    Clibxml2libxsltnokogiri
    Voir sur GitHub↗6,236
  • tmpvar/jsdomAvatar de tmpvar

    tmpvar/jsdom

    21,591Voir sur GitHub↗

    jsdom is a Node.js implementation of web standards that functions as a headless browser emulator. It provides a JavaScript execution environment and an HTML and XML parser to simulate a browser environment on the server side, implementing various web APIs and W3C standards. The project distinguishes itself by providing a sandboxed runtime for executing scripts embedded in HTML or external files. It includes specialized polyfills for the Canvas API and manages session state through HTTP cookie management. Its broader capabilities cover network interaction via request interception and resource

    JavaScript
    Voir sur GitHub↗21,591
Voir les 30 alternatives à Htmlparser2→