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