awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
kangax avatar

kangax/html-minifier

0
View on GitHub↗
5,045 نجوم·579 تفرعات·JavaScript·MIT·8 مشاهداتkangax.github.io/html-minifier↗

Html Minifier

html-minifier هو أداة Node.js مصممة لتقليل حجم ملف HTML عن طريق تحسين الترميز، وتبسيط هياكل المستندات، وضغط CSS وJavaScript المضمن. يعمل كضاغط لترميز HTML ومحسن لمستندات الويب يقوم بإزالة المسافات البيضاء، والتعليقات، والسمات الزائدة.

تتميز الأداة بكونها محسناً للأصول المضمنة، حيث تعالج المحتوى داخل وسوم النمط والسكربت عبر محركات ضغط متخصصة. تبسط المخرجات النهائية عن طريق إزالة الوسوم الاختيارية واستبدال أنواع المستندات الطويلة بإصدارات أقصر.

يغطي المشروع مجموعة من قدرات التحسين، بما في ذلك تحسين السمات لإزالة علامات الاقتباس غير الضرورية والقيم الفارغة، بالإضافة إلى تنسيق هيكل المخرجات للتحكم في أطوال الأسطر. كما يتضمن آليات للحفاظ على الترميز لحماية وسوم أو كتل محتوى محددة من عملية الضغط.

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.

سجل النجوم

مخطط تاريخ النجوم لـ kangax/html-minifierمخطط تاريخ النجوم لـ kangax/html-minifier

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Html Minifier

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Html Minifier.
  • apache/incubator-pagespeed-ngxA

    apache/incubator-pagespeed-ngx

    4,343عرض على GitHub↗

    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++
    عرض على GitHub↗4,343
  • jantimon/html-webpack-pluginالصورة الرمزية لـ jantimon

    jantimon/html-webpack-plugin

    10,728عرض على GitHub↗

    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
    عرض على GitHub↗10,728
  • gregberge/svgrG

    gregberge/svgr

    11,043عرض على GitHub↗

    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
    عرض على GitHub↗11,043
  • imagemin/imageminالصورة الرمزية لـ imagemin

    imagemin/imagemin

    5,717عرض على GitHub↗

    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
    عرض على GitHub↗5,717
عرض جميع البدائل الـ 30 لـ Html Minifier→

الأسئلة الشائعة

ما هي وظيفة kangax/html-minifier؟

html-minifier هو أداة Node.js مصممة لتقليل حجم ملف HTML عن طريق تحسين الترميز، وتبسيط هياكل المستندات، وضغط CSS وJavaScript المضمن. يعمل كضاغط لترميز HTML ومحسن لمستندات الويب يقوم بإزالة المسافات البيضاء، والتعليقات، والسمات الزائدة.

ما هي الميزات الرئيسية لـ kangax/html-minifier؟

الميزات الرئيسية لـ kangax/html-minifier هي: 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.

ما هي البدائل مفتوحة المصدر لـ kangax/html-minifier؟

تشمل البدائل مفتوحة المصدر لـ kangax/html-minifier: 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…