| |||||
htmlmin reads a sequence of HTML code, strips whitespace and comments and returns the optimized version of that code.
The module works as a programmatic library and from the Python command line as well.
htmlmin can handle both HTML branches, v4 and v5.
Here are some key features of "htmlmin":
· Reduce whitespace or convert them to one space instead
· Decide what HTML elements can't be minified
· Handles unclosed HTML tags
· WSGI middleware for an app's output
Requirements:
· Python 2.7 or higher

Via: htmlmin 0.1.2






0 Comment:
Post a Comment