basic JavaScript/CSS minifier written in Python
Python
Switch branches/tags
Clone or download
Latest commit 0d08040 May 23, 2017
Permalink
Failed to load latest commit information.
ISSUE_TEMPLATE.md Update ISSUE_TEMPLATE.md Nov 16, 2016
LICENSE Update LICENSE May 23, 2017
README.md Update README.md Apr 29, 2017
ss_thinIt_v1_0_0.png add screen shot Nov 9, 2016
thinIt.py v1.1.2- Dec 20, 2016
thinIt_v1_1_0.py v1.1.0- Nov 14, 2016

README.md

thinIt

thinIt is a basic JavaScript (.js) / CSS (.css) minifier written in Python.

Syntax:

thinit.py [filename] ["optional comment text"]

For filename, include the path if the file is not in the current directory (with quotes, if there are spaces). optional comment text is used if you want to insert a comment as the first line of the minified file, for example to include the file name, version number, date, brief description, etc.

Typing thinit.py help will bring up a brief help screen.

thinIt has rudimentary support for Python (.py*) and VBScript (.vb*) files as well. For Python it removes blank lines and lines that begin with a comment, and for VBScript it removes blank lines, lines that begin with a comment, and indentations. Support for Python docstring comments will be coming in a future version.

Requirements:

  • Python 2.7.x

screen shot

thinIt is versioned using Semantic Versioning.