jscompact is free software licensed under the GNU GPL. It is released "as-is" and without any support from the author. Patches, improvements and bug reports may be submitted via the Sourceforge Project page.
- JS afer running jscompact, 1044 bytes
- JS after running jscompact with the --pretty flag, 1420 bytes
Usage: ./jscompact [options] Options: -h --help display this usage help -p --pretty pretty print code without comments -a --argvarsoff disable auto-shortening of function arguments -l --localvarsoff disable auto-shortening of local scope variables -n --newlines keep newlines when compacting -c --checkonly Syntax check only. Do not print script -i --infile=file Input file. Uses STDIN if absent -o --outfile=file Output file. Used STDOUT if absent