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
·
kangax avatar

kangax/html-minifier

0
View on GitHub↗
5,045 Stars·579 Forks·JavaScript·MIT·4 Aufrufekangax.github.io/html-minifier↗

Html Minifier

html-minifier ist ein Node.js-Dienstprogramm, das darauf ausgelegt ist, die HTML-Dateigröße durch Optimierung des Markups, Vereinfachung von Dokumentstrukturen und Komprimierung eingebetteter CSS- und JavaScript-Dateien zu reduzieren. Es fungiert als HTML-Markup-Kompressor und Web-Dokument-Optimierer, der Leerzeichen, Kommentare und redundante Attribute entfernt.

Das Tool zeichnet sich dadurch aus, dass es als Optimierer für eingebettete Assets fungiert und Inhalte innerhalb von Style- und Script-Tags durch spezialisierte Komprimierungs-Engines verarbeitet. Es vereinfacht die endgültige Ausgabe durch das Entfernen optionaler Tags und das Ersetzen langer Doctype-Deklarationen durch kürzere Versionen.

Das Projekt deckt eine Reihe von Optimierungsfunktionen ab, einschließlich Attributoptimierung zum Entfernen unnötiger Anführungszeichen und leerer Werte sowie Formatierung der Ausgabestruktur zur Steuerung von Zeilenlängen. Es enthält zudem Mechanismen zur Markup-Bewahrung, um bestimmte Tags oder Inhaltsblöcke vor dem Komprimierungsprozess zu schützen.

Features

  • HTML Whitespace Minifiers - Reduces HTML file size by stripping unnecessary whitespace, comments, and redundant attributes.
  • JavaScript and CSS Minifications - Minifies embedded JavaScript and CSS found within HTML script and style tags.
  • Embedded Asset Optimizers - Compresses CSS and JavaScript found inside style and script tags within HTML files.
  • HTML Markup Compressors - Shrinks the total size of HTML documents while preserving essential tags and structure.
  • Frontend Asset Compression - Compresses internal CSS and JavaScript assets embedded directly within the HTML to reduce page weight.
  • HTML Output Optimizers - Optimizes HTML output by stripping unnecessary quotes and removing empty attribute values.
  • Page Speed Optimizations - Optimizes web page delivery by reducing HTML file size to decrease load times and save bandwidth.
  • Web Document Optimizers - Simplifies HTML structures by removing optional tags and optimizing attribute quotes and values.
  • HTML Document Reconstruction - Rebuilds the final HTML output from processed tokens while enforcing specific quoting rules and maximum line lengths.
  • HTML AST Transformations - Implements an abstract syntax tree parser to identify and strip redundant HTML elements before regenerating the final output.
  • External Process Delegation - Delegates the compression of embedded style and script blocks to specialized external minification engines.
  • Regexp-Based Content Compression - Uses regular expressions to strip unnecessary whitespace and comments from the HTML markup.
  • HTML Formatting - Controls the final HTML document layout via configurable maximum line lengths and preferred quote characters.
  • Frontend Asset Pipelines - Integrates HTML compression into the frontend asset pipeline for production deployment.
  • HTML Attribute Filtering - Filters and modifies HTML attributes based on user-defined configuration flags to shrink the output.
  • HTML Structure Simplification - Shrinks the final output by removing optional tags and replacing long doctypes with shorter versions.
  • Asset Optimization - Configurable JavaScript-based HTML minification.
  • Build and Transpilation Tools - Highly configurable HTML minifier.

Star-Verlauf

Star-Verlauf für kangax/html-minifierStar-Verlauf für kangax/html-minifier

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 Html Minifier

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Html Minifier.
  • apache/incubator-pagespeed-ngxA

    apache/incubator-pagespeed-ngx

    4,343Auf GitHub ansehen↗

    This project is an NGINX performance module and automatic page accelerator that optimizes web pages and associated assets to reduce load times. It functions as a web asset optimizer that minifies CSS and JavaScript and compresses images to reduce total data transfer. The system operates as an HTTP cache optimizer, modifying cache headers and extending asset lifetimes to decrease the frequency of repeat downloads. It automatically applies web performance best practices to accelerate page loading and improve delivery speed. The project covers broad capability areas including frontend asset com

    C++
    Auf GitHub ansehen↗4,343
  • jantimon/html-webpack-pluginAvatar von jantimon

    jantimon/html-webpack-plugin

    10,728Auf GitHub ansehen↗

    This project is a Webpack HTML generator and template engine that creates HTML files and automatically injects compiled script and style bundles. It functions as an asset injection tool and build process minifier to automate the production of web pages. The tool differentiates itself through a customizable template system that supports dynamic variable injection, programmatic content generation, and the ability to generate multiple distinct HTML entry points for multi-page applications. It also provides a hook-based lifecycle pipeline, allowing for the modification of assets and tags before t

    JavaScripthtml-webpack-pluginwebpack
    Auf GitHub ansehen↗10,728
  • gregberge/svgrG

    gregberge/svgr

    11,043Auf GitHub ansehen↗

    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

    TypeScript
    Auf GitHub ansehen↗11,043
  • imagemin/imageminAvatar von imagemin

    imagemin/imagemin

    5,717Auf GitHub ansehen↗

    imagemin is a Node.js image optimizer and minification tool designed to reduce the storage size of image assets. It functions as a build pipeline asset optimizer that employs both lossy and lossless compression to remove unnecessary metadata and optimize pixel data. The project uses a plugin-based architecture to extend its functionality, loading external modules that handle specific image formats and compression algorithms. This allows the tool to serve as a flexible toolkit for automating image compression within development pipelines. The system covers broad capabilities for web performan

    JavaScript
    Auf GitHub ansehen↗5,717
Alle 30 Alternativen zu Html Minifier anzeigen→

Häufig gestellte Fragen

Was macht kangax/html-minifier?

html-minifier ist ein Node.js-Dienstprogramm, das darauf ausgelegt ist, die HTML-Dateigröße durch Optimierung des Markups, Vereinfachung von Dokumentstrukturen und Komprimierung eingebetteter CSS- und JavaScript-Dateien zu reduzieren. Es fungiert als HTML-Markup-Kompressor und Web-Dokument-Optimierer, der Leerzeichen, Kommentare und redundante Attribute entfernt.

Was sind die Hauptfunktionen von kangax/html-minifier?

Die Hauptfunktionen von kangax/html-minifier sind: HTML Whitespace Minifiers, JavaScript and CSS Minifications, Embedded Asset Optimizers, HTML Markup Compressors, Frontend Asset Compression, HTML Output Optimizers, Page Speed Optimizations, Web Document Optimizers.

Welche Open-Source-Alternativen gibt es zu kangax/html-minifier?

Open-Source-Alternativen zu kangax/html-minifier sind unter anderem: apache/incubator-pagespeed-ngx — This project is an NGINX performance module and automatic page accelerator that optimizes web pages and associated… jantimon/html-webpack-plugin — This project is a Webpack HTML generator and template engine that creates HTML files and automatically injects… gregberge/svgr — SVGR is a tool that transforms static SVG files into reusable React components for direct rendering within user… uncss/grunt-uncss — grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization… imagemin/imagemin — imagemin is a Node.js image optimizer and minification tool designed to reduce the storage size of image assets. It… middleman/middleman — Middleman is a Ruby-based static site generator and web framework used to transform templates and assets into…