$npx skillfedfor your agent

css-html-js-minify

CSS HTML JS Minifier

With conditionsPyPI Software DevelopmentReleased Apr 2018294.9K downloads / moGPL-3 LGPL-3 MITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — css_html_js_minify-2.5.5-py2.py3-none-any.whl
v2.5.5 · released 2018-04-14

Yes, if you need a lightweight, dependency-free minifier for legacy or simple web projects. No, if you require active maintenance, modern JavaScript support (ES6+), or ongoing bug fixes—the project is abandoned as of 2018. Consider alternatives if your codebase relies on contemporary JavaScript features or if you need assurance of compatibility with current Python and web standards.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later.
  • No runtime dependencies and low install friction.
  • However, the project is marked abandoned with the last commit in June 2023 and no releases since April 2018, so maintenance and bug fixes are not expected.

License · maintenance · safety

GPL-3 LGPL-3 MIT (copyleft) — Licensed under GPL-3, LGPL-3, and MIT. The copyleft treatment means you must comply with GPL/LGPL terms if you distribute modified versions or link the code into derivative works; MIT is permissive. Review your use case against these obligations.

last release 2018-04-14 (3044 days) · last repo commit 2023-06-11 · 216 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 294,884 downloads/mo, #7,938 on PyPI

Verify before relying

pip install css-html-js-minify

from css_html_js_minify import css_minify, js_minify, html_minify

minified_css = css_minify('body {width: 50px;}')
minified_js = js_minify('var i = 1; i += 2;')
minified_html = html_minify('  <p>hello</p>  ')
  • Whether ES6/ES7 JavaScript minification is reliable enough for modern codebases, given the fact sheet notes future JavaScript support is orphan.
  • Current compatibility with Python versions beyond 3.6, since the project is abandoned and has not been tested against recent Python releases.
Same gist for agents: .md · .json

What it is and what it does

css-html-js-minify is a command-line and Python library tool that reduces the size of CSS, HTML, and JavaScript files by removing unnecessary whitespace, comments, and redundant syntax. It works on single files or entire folders, using async multiprocessing for batch operations. The tool is cross-platform, has no runtime dependencies, and can output minified files with optional features like SHA1 hashing for cache-busting, gzip compression, and file watching for automatic re-compression on changes.

You can use it either as a standalone command-line utility (e.g., `css-html-js-minify.py /path/to/project/static/`) or import its functions directly in Python code to minify strings or files programmatically. It handles Unicode and UTF-8 correctly, sorts CSS properties alphabetically to help identify duplicates, and can execute arbitrary commands before and after minification. However, the project has been abandoned since 2018 and is no longer actively maintained, so it may not handle modern JavaScript standards or receive bug fixes.

Use it for

  • Compress static assets in a web project before deploying to production to reduce bandwidth and load times.
  • Batch-process an entire folder of CSS, HTML, and JS files with a single command, optionally adding cache-busting hashes to filenames.
  • Integrate minification into a build pipeline by calling Python functions directly from your build script.
  • Watch a folder for changes and automatically re-minify files during development, though with a minimum 60-second interval.
  • Generate gzipped versions of minified CSS and JS files for servers that support gzip content encoding.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a lightweight, dependency-free minifier for legacy or simple web projects.

No, if you require active maintenance, modern JavaScript support (ES6+), or ongoing bug fixes—the project is abandoned as of 2018. Consider alternatives if your codebase relies on contemporary JavaScript features or if you need assurance of compatibility with current Python and web standards.

Install

css-html-js-minify on PyPI

Before you install

No runtime dependencies and low install friction. However, the project is marked abandoned with the last commit in June 2023 and no releases since April 2018, so maintenance and bug fixes are not expected.

Requires Python 3.6 or later.

License in practice

Licensed under GPL-3, LGPL-3, and MIT. The copyleft treatment means you must comply with GPL/LGPL terms if you distribute modified versions or link the code into derivative works; MIT is permissive. Review your use case against these obligations.

Quickstart

pip install css-html-js-minify

from css_html_js_minify import css_minify, js_minify, html_minify

minified_css = css_minify('body {width: 50px;}')
minified_js = js_minify('var i = 1; i += 2;')
minified_html = html_minify('  <p>hello</p>  ')

Verify before relying

  • Whether ES6/ES7 JavaScript minification is reliable enough for modern codebases, given the fact sheet notes future JavaScript support is orphan.
  • Current compatibility with Python versions beyond 3.6, since the project is abandoned and has not been tested against recent Python releases.

Package facts

LicenseGPL-3 LGPL-3 MIT copyleft
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 3,044 days since the last release
Last repo commit
First released
Downloads294,884 / month, #7,938 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Other EnvironmentIntended Audience :: DevelopersIntended Audience :: Other AudienceLicense :: OSI Approved :: GNU General Public License (GPL)License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Natural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development

Evidence: css_html_js_minify-2.5.5-py2.py3-none-any.whl

Tags

Capabilities
css html js minifierweb asset compressionminify css javascript htmlproduction file optimizationbatch minify static filesgzip and hash web filesasync minifier command line
Topics
web-assetsbuild-toolabandoned
PyPI keywords
python3

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “production file optimization”

  • css-html-js-minifyMinifies CSS, HTML, and JavaScript files or folders to reduce file…
  • scourScour optimizes and cleans SVG files by removing redundant data and…
  • cylpCyLP provides a Python interface to COIN-OR's linear and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also Flask-Minify · htmlmin2 · rcssmin · minify-html · jsbeautifier · htmlmin · mkdocs-minify-plugin · cssmin · django-htmlmin · cssbeautifier