This is an experimental JavaScript-to-JavaScript compiler project. Mostly for minification experimentation purposes.
Invoke the compiler with the command jscompiler
. Compile a JavaScript source
file myscript.js
like so:
jscompiler myscript.js
For more options try this:
jscompiler --help
Unpack the archive, cd
into the unpacked source directory and run the
following command:
python setup.py install
Skip a step by using pip to download and install the package source for the latest version:
pip install https://github.com/jeffkistler/jscompiler/zipball/master#egg=jscompiler
Run the following command:
pip install -e git+git://github.com/jeffkister/jscompiler.git#egg=jscompiler