h

htmlcompressor

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.
https://github.com/hazendaz/htmlcompressor/
Apache License 2.0
Jeremy Landis
Sergiy Kovalchuk
Files download
File Operation
htmlcompressor-1.6.4.jar download
htmlcompressor-1.6.4.pom download
htmlcompressor-1.6.4-sources.jar download
Apache Maven
<dependency>
  <groupId>com.github.hazendaz</groupId>
  <artifactId>htmlcompressor</artifactId>
  <version>1.6.4</version>
</dependency>
Gradle Groovy
implementation 'com.github.hazendaz:htmlcompressor:1.6.4'
Gradle Kotlin
implementation("com.github.hazendaz:htmlcompressor:1.6.4")
Scala SBT
libraryDependencies += "com.github.hazendaz" % "htmlcompressor" % "1.6.4"
Groovy Grape
@Grapes(
  @Grab(group='com.github.hazendaz', module='htmlcompressor', version='1.6.4')
)
Apache Ivy
<dependency org="com.github.hazendaz" name="htmlcompressor" rev="1.6.4" />
Leiningen
[com.github.hazendaz/htmlcompressor "1.6.4"]
Apache Buildr
'com.github.hazendaz:htmlcompressor:jar:1.6.4'