By default, jsmin will remove source code whitespace and comments.
It also compresses multi-line files into one single lined document, reducing the file size as much as possible.
By doing this jsmin helps developers optimize their code and speed up their apps and websites.
jsmin can be used from the Python console, or programmatically inside the code, as any other Python module.
When jsmin-ing a file, the module will compress it and re-write the minified code to the same file.
Requirements:
- Python 2.6 or higher
評論沒有發現