{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"Minifies HTML, JavaScript, and CSS in a single pass using a Rust-based engine with Python bindings, optimized for both speed and compression ratio.","skillfed_tags":["html-minification","rust-binding","build-tool"],"use_cases":["Minify HTML templates in a web build pipeline to reduce payload size before deployment.","Strip whitespace and optimize embedded CSS/JS in static site generators or template rendering.","Batch-process HTML files while preserving templating directives like Jinja or Django syntax.","Reduce HTML response size in a web scraper or HTML processing utility.","Optimize HTML email templates for smaller file size and faster transmission."],"what_it_does":"minify-html is a Python binding to a Rust HTML minifier that compresses HTML, JavaScript, and CSS in a single pass. It uses oxc for JavaScript minification and lightningcss for CSS, designed to outperform other minifiers in both speed and compression effectiveness. The package handles invalid HTML and can preserve templating syntax via configuration flags.\n\nYou import the module and call minify() with your HTML string and optional configuration flags (minify_js, minify_css, keep_comments, etc.). All configuration options default to False if omitted. The binding is built with PyO3 and distributed as precompiled wheels for common platforms; no compilation is required on install for supported systems.","worth_installing":"Yes, if you need fast HTML minification with integrated CSS and JS optimization. The permissive MIT license, active repository, and precompiled wheels for common platforms make it low-friction to adopt. Medium install friction only applies if you target uncommon architectures; no known vulnerabilities. Aging maintenance status is a minor concern but not a blocker for a stable utility."},"id":"minify-html","links":{"html":"https://skillfed.io/packages/minify-html","md":"https://skillfed.io/packages/minify-html.md","pypi":"https://pypi.org/project/minify-html/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-25","license_spdx":null,"license_treatment":"permissive","name":"minify-html","python_support":"unspecified","summary":"Extremely fast and smart HTML + JS + CSS minifier"},"popularity":{"monthly_downloads":1437398,"position":3897,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.18.1"}
