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