awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 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·1 Aufruffeedic.com/htmlparser2↗

Htmlparser2

htmlparser2 is a collection of tools for high-performance markup parsing, DOM manipulation, and incremental stream processing. It functions as an HTML and XML parser that converts markup strings into structured object trees, alongside a streaming markup parser designed for memory-efficient processing of large documents.

The project includes a DOM manipulation library for querying, modifying, and serializing document object model trees. It also provides a web feed parser to extract structured metadata and entries from RSS, RDF, and Atom feeds.

The library covers broad capabilities in data parsing, including the conversion of documents to DOM trees and the execution of web scraping workflows. These tools allow for the search and modification of parsed document structures before they are converted back into strings.

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.

Star-Verlauf

Star-Verlauf für fb55/htmlparser2Star-Verlauf für fb55/htmlparser2

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Htmlparser2

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Htmlparser2.
  • inikulin/parse5Avatar von inikulin

    inikulin/parse5

    3,903Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗3,903
  • scinfu/swiftsoupAvatar von scinfu

    scinfu/SwiftSoup

    5,087Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,087
  • sparklemotion/nokogiriAvatar von sparklemotion

    sparklemotion/nokogiri

    6,236Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗6,236
  • tmpvar/jsdomAvatar von tmpvar

    tmpvar/jsdom

    21,591Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗21,591
Alle 30 Alternativen zu Htmlparser2 anzeigen→

Häufig gestellte Fragen

Was macht fb55/htmlparser2?

htmlparser2 is a collection of tools for high-performance markup parsing, DOM manipulation, and incremental stream processing. It functions as an HTML and XML parser that converts markup strings into structured object trees, alongside a streaming markup parser designed for memory-efficient processing of large documents.

Was sind die Hauptfunktionen von fb55/htmlparser2?

Die Hauptfunktionen von fb55/htmlparser2 sind: 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.

Welche Open-Source-Alternativen gibt es zu fb55/htmlparser2?

Open-Source-Alternativen zu fb55/htmlparser2 sind unter anderem: 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…