yuicompressor
Used in: 6157 components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
Overview
Description
The YUI Compressor is a JavaScript compressor which, in addition to removing
comments and white-spaces, obfuscates local variables using the smallest
possible variable name. This obfuscation is safe, even when using constructs
such as 'eval' or 'with' (although the compression is not optimal is those
cases) Compared to jsmin, the average savings is around 20%.
Snippets
<dependency> <groupId>com.yahoo.platform.yui</groupId> <artifactId>yuicompressor</artifactId> <version>2.4.8</version> </dependency>
Maven POM File
<?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.yahoo.platform.yui</groupId> <artifactId>yuicompressor</artifactId> <version>2.4.8</version> <packaging>jar</packaging> <name>yui compressor</name> <url>http://developer.yahoo.com/yui/compressor/</url> <description> The YUI Compressor is a JavaScript compressor which, in addition to removing comments and white-spaces, obfuscates local variables using the smallest possible variable name. This obfuscation is safe, even when using constructs such as 'eval' or 'with' (although the compression is not optimal is those cases) Compared to jsmin, the average savings is around 20%. </description> <licenses> <license> <name>BSD License</name> <url>http://developer.yahoo.com/yui/license.html</url> <distribution>repo</distribution> </license> </licenses> <mailingLists> <mailingList> <name>yui-compressor-forum</name> <archive>http://yuilibrary.com/forum/viewforum.php?f=94/</archive> </mailingList> </mailingLists> <scm> <connection>scm:git:git://github.com/yui/yuicompressor.git</connection> <url>http://github.com/yui/yuicompressor</url> </scm> <developers> <developer> <id>julienlecomte</id> <name>Julien Lecomte</name> </developer> <developer> <id>isaacs</id> <name>Isaac Z. Schlueter</name> </developer> </developers> <dependencies> <dependency> <groupId>rhino</groupId> <artifactId>js</artifactId> <version>1.7R2</version> </dependency> </dependencies> </project>