By Franck Marcia
From the original idea of Douglas Crockford
Last modified: 2010/01/15 - patched by Billy Hoffman and NanaLich to protect important comments denoted with /*!
Code is pre-filled with an example. Click JSMin to test it or fill fields with your own code.
Minimal: original algorithm but keep linefeeds if single - Conservative: original algorithm - Agressive: remove more linefeed than the original algorithm but can be regressive
Old size: New size: Ratio: