A Javascript packer that minifies JS code through string replacements
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
js
LICENSE
README.md
index.html

README.md

JS Crusher

JS Crusher is a Javascript packer that takes a short JS snippet and minimizes it through string replacements. It is very suitable for competitions such as JS1K.

It is based on @possan's crusher, with some improvements taken from JSCrush. JS Crusher achieves a good compression rate thanks to extra passes, together with a better approach for choosing candidates for replacements.

Especial kudos to KodeClutz's post on Demystifying JSCrush which explains how JSCrush works.