Registry / utility / htmlcompressor

htmlcompressor

JSON →
library1.5.2javamavenunverified

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.

<dependency> <groupId>com.googlecode.htmlcompressor</groupId> <artifactId>htmlcompressor</artifactId> <version>1.5.2</version> </dependency>
INSTALL
IMPORT
SIG · HTMLCOMPRESSOR
H
htmlcompressor
utilityjavav1.5.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Compressor
com.googlecode.htmlcompressor.Compressor

Minimal HTML minification example

import com.googlecode.htmlcompressor.Compressor; public class MinifyExample { public static void main(String[] args) { Compressor compressor = new Compressor(); String minified = compressor.compress("<html> <body> </body> </html>"); System.out.println(minified); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
htmlcompressor — mvn dependency:get htmlcompressor · libregistry