Skip to content

mgnt/JSMinHx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A haxe port of JSMin http://www.crockford.com/javascript/jsmin.html
It is ported from JS version of JSMin.

Repo: http://github.com/andyli/JSMinHx

Install it by:
	haxelib install jsmin

Use it by:
	haxelib run jsmin inputFile outputFile [level] [comment]

Or use the JSMin class directly in your haXe program.
The JSMin class minify the input once it is constructed. You can then get the result from its output property.
Eg. 
	var minifiedJS:String = new jsmin.JSMin(jsSource).output;
	
For more info of what it actually does, see http://www.crockford.com/javascript/jsmin.html

Releases

No releases published

Packages

No packages published