dean.edwards.name/packer/usage/

Note: this page needs to be updated for version 3.0.

Usage

All statements, including function declarations, must be correctly terminated with semi-colons. View the sample code.

Options

Base62 encode

Shrink variables

Features

Debug code(;;;)

Three semi-colons (;;;) are treated like single-line comments.

For example, this code:

;;; alert("TEST!");

Would be removed by the packing program.

Platforms

Packed scripts should successfully unpack on all browsers that support JavaScript. Only basic JavaScript functionality is used to decode the packed script.

Some browsers may not support the packer itself. The web interface requires DOM support. Legacy browsers will display a disabled interface.