awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
inikulin avatar

inikulin/parse5

0
View on GitHub↗
3,903 estrellas·252 forks·TypeScript·MIT·1 vista

Parse5

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 capabilities allow for programmatic analysis and data extraction from HTML documents while maintaining consistency across different environments.

Features

  • XML and HTML Document Parsers - Parses HTML5 content from strings or files into in-memory document trees for traversal and manipulation.
  • WHATWG HTML Standard Implementations - Implements the exact parsing and serialization logic defined by the HTML Living Standard for cross-browser consistency.
  • Incremental Parsing - Processes large HTML documents in small chunks via incremental parsing to minimize memory consumption.
  • HTML - Provides incremental parsing of HTML documents via streams to handle large files without loading the entire source into memory.
  • HTML Serialization - Converts structured document object model trees back into valid HTML text strings.
  • HTML Tokenization - Implements a state-machine driven tokenizer that converts character streams into HTML tokens according to web specifications.
  • State-Based Parsing - Implements state-machine driven parsing to track context and handle incoming characters according to HTML standards.
  • DOM Tree Construction - Transforms a sequence of tokens into a hierarchical document object model using specific nesting and stacking rules.
  • DOM Serialization - Transforms a structured document object model back into an HTML string for output or storage.
  • HTML and XML Serialization - Provides the complete pipeline of parsing HTML into a tree and serializing that tree back into HTML strings.
  • HTML String Parsing - Converts HTML strings into a structured tree representation for programmatic analysis of document content.
  • HTML Living Standard Compliance - Ensures parsing and serialization behave consistently by following the official WHATWG HTML Living Standard.
  • HTML Parsers - Provides a complete toolset for parsing and serializing HTML strings into a document object model following WHATWG standards.
  • Large Scale Streaming - Enables parsing and rewriting of massive HTML files using streams to prevent system memory overload.
  • HTML Response Rewriting - Modifies HTML content during the streaming process to perform real-time transformations of the document structure.
  • Incremental HTML Processing - Processes large HTML documents in chunks to minimize memory usage during analysis and real-time rewriting.
  • Parsing Tools - HTML parsing and serialization.
  • Parsing Utilities - Spec-compliant HTML parser.

Historial de estrellas

Gráfico del historial de estrellas de inikulin/parse5Gráfico del historial de estrellas de inikulin/parse5

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace inikulin/parse5?

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.

¿Cuáles son las características principales de inikulin/parse5?

Las características principales de inikulin/parse5 son: XML and HTML Document Parsers, WHATWG HTML Standard Implementations, Incremental Parsing, HTML, HTML Serialization, HTML Tokenization, State-Based Parsing, DOM Tree Construction.

¿Qué alternativas de código abierto existen para inikulin/parse5?

Las alternativas de código abierto para inikulin/parse5 incluyen: fb55/htmlparser2 — htmlparser2 is a collection of tools for high-performance markup parsing, DOM manipulation, and incremental stream… whatwg/html — This repository contains the HTML specification, which defines the core standards for web page structuring, content… scinfu/swiftsoup — SwiftSoup is a cross-platform HTML processing library for Swift that converts raw HTML or XML strings and files into a… tmpvar/jsdom — jsdom is a Node.js implementation of web standards that functions as a headless browser emulator. It provides a… anglesharp/anglesharp — AngleSharp is an HTML5 DOM parser and web scraping framework designed to parse HTML5, SVG, and MathML documents into a… jmcarp/robobrowser — Robobrowser is a Python web scraping library that provides a headless browser emulator and an HTML DOM parser. It is…

Alternativas open-source a Parse5

Proyectos open-source similares, clasificados según cuántas características comparten con Parse5.
  • fb55/htmlparser2Avatar de fb55

    fb55/htmlparser2

    4,774Ver en GitHub↗

    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 par

    TypeScript
    Ver en GitHub↗4,774
  • whatwg/htmlAvatar de whatwg

    whatwg/html

    9,163Ver en GitHub↗

    This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.

    HTMLcanvaseventsourcehtml
    Ver en GitHub↗9,163
  • scinfu/swiftsoupAvatar de scinfu

    scinfu/SwiftSoup

    5,087Ver en 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
    Ver en GitHub↗5,087
  • tmpvar/jsdomAvatar de tmpvar

    tmpvar/jsdom

    21,591Ver en 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
    Ver en GitHub↗21,591
  • Ver las 30 alternativas a Parse5→