obfuscate: Make file-min.js?

0 votes
asked Sep 1, 2010 by olidev

For example, when I download Jquery, I see there is always 2 file: jquery.js and jquery-min.js.

How could they create jQuery-min.js -> in this file, it is not only compressed but also obfuscated. Which tool is best to do this?

I am working with Visual Studio 2010 Ultimate, would it be also possible as well?

Thanks in advance!

1 Answer

0 votes
answered Sep 1, 2010 by cipi

You can use this: http://dean.edwards.name/packer/ pretty cool... and I believe jQuery is compressed using that. There are .NET, PHP and other versions HERE.

For Visual Studio I use this: http://yuicustomtool.codeplex.com/.

Checkout this too for CSS: https://csscompressor.net/

UPDATE: Recently I came across THIS. Its an Online YUI Compressor. Its useful if you are not able to run YUI Compressor EXE, or you haven't wrote your JS to be minification friendly (it adds ; by itself to the end of the object's definition for example).

Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter

...