{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"Minifies HTML by removing unnecessary whitespace and comments while preserving functionality, with configurable safety features.","skillfed_tags":["html-optimization","abandoned-but-stable"],"use_cases":["Reduce HTML payload size in web applications before serving to browsers","Optimize static HTML files generated by site builders or templating systems","Strip comments and whitespace from HTML during a build or deployment pipeline","Minify HTML email templates to reduce transmission size","Post-process HTML output to reduce bandwidth usage"],"what_it_does":"htmlmin2 is a Python library that reduces HTML file size by removing unnecessary whitespace, line breaks, and comments while keeping the markup functional. It's designed for developers who need to optimize HTML output in web applications, static site generators, or build pipelines.\n\nThe package has no external runtime dependencies, making it lightweight to install. It supports configurable minification with safety features intended to prevent accidental breakage. However, the project is no longer actively maintained\u2014the last commit was 2021-10-20, and the latest release dates to 2023-03-14. This means you should verify compatibility with your target Python version before relying on it in production.","worth_installing":"Yes, if you need a simple, dependency-free HTML minifier for a stable project. The low install friction and permissive BSD license make it easy to adopt. However, be cautious: the package is abandoned and may not work with Python versions released after 2021. Test thoroughly with your target Python version before relying on it in production."},"id":"htmlmin2","links":{"html":"https://skillfed.io/packages/htmlmin2","md":"https://skillfed.io/packages/htmlmin2.md","pypi":"https://pypi.org/project/htmlmin2/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-03-14","license_spdx":null,"license_treatment":"permissive","name":"htmlmin2","python_support":"unspecified","summary":"An HTML Minifier"},"popularity":{"monthly_downloads":1293344,"position":4100,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.13"}
