String Compression

String Compression uses zlib compression algorithm to compress strings.

Option name: "stringCompression"

Option values: true/false/0-1/Function


Input / Output

This example showcases how String Compression transforms the code. Try it out by changing the input code and see changes apply in real-time.

Input.js

Output.js


Custom Implementation

options.stringCompression(strValue)

Control which strings are changed. Returns a boolean.

Parameter Type Description
strValue string The string proposed to be compressed.

Usage Example

The provided code example will obfuscate the file input.js and write the output to a file named output.js.

Usage Example


Enabled In