HtmlCompressor is a small, fast and very easy to use Java library that minifies given HTML or XML source by removing extra whitespaces, comments and other unneeded characters without breaking the content structure. As a result pages become smaller in size and load faster. A command-line version of the compressor is also available.

Compile Dependencies (4)

Category/LicenseGroup / ArtifactVersionUpdates
com.google.javascript » closure-compiler(optional)
Closure Compiler is a JavaScript optimizing compiler. It parses your
v20191111v20260804
com.yahoo.platform.yui » yuicompressor(optional)
The YUI Compressor is a JavaScript compressor which, in addition to removing
2.4.8
Logging MIT
org.slf4j » slf4j-api
API for SLF4J (The Simple Logging Facade for Java) which serves as a simple facade or abstraction for various logging ...
1.8.0-beta42.0.18
Logging MIT
org.slf4j » slf4j-simple(optional)
Binding/provider for SLF4J, which outputs all events to System.err. Only messages of level INFO and higher are printed.
1.8.0-beta42.0.18

Provided Dependencies (3)

Category/LicenseGroup / ArtifactVersionUpdates
Collections Apache 2.0
commons-collections » commons-collections
The Apache Commons Collections package contains types that extend and augment the Java Collections Framework.
3.2.24.5.0
Java Spec EPL 2.0 +1
jakarta.servlet.jsp » jakarta.servlet.jsp-api
Jakarta Pages defines a templating technology for dynamically creating web resources
2.3.64.0.0
Template Engine Apache 2.0
org.apache.velocity » velocity-engine-core
Core module of Apache Velocity, a Java-based template engine for generating text output.
2.12.4.1

Test Dependencies (1)

Category/LicenseGroup / ArtifactVersionUpdates
Testing EPL 2.0
org.junit.jupiter » junit-jupiter-engine
Core package for the JUnit Jupiter test engine.
5.5.26.1.2