PHP-based JavaScript compressor
PHP JSStrip is PHP port of the original Python tool, jsstrip.py. It was originally ported to PHP in 2006 as part of the DokuWiki wiki engine. It has received several improvements over the years and is now available as a standalone library. Quoting the original description: jsstrip is a open-source library to remove whitespace and comments from a JavaScript file. You might want to do this to optimize size and performance, or to make a file harder to read. It typically makes 30-40% savings in file size. WARNING: jsstrip is not a true JavaScript parser. It assumes you have properly delimited the 'end of line' using a ';' (semicolon). ALWAYS test the stripped version before deploying to production. Autoloader: /usr/share/php/splitbrain/JSStrip/autoload.php
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.0.1-6.fc41 | - |
Fedora 41 | 1.0.1-6.fc41 | - |
Fedora 40 | 1.0.1-5.fc40 | - |
Fedora 39 | 1.0.1-3.fc39 | - |
You can contact the maintainers of this package via email at
php-splitbrain-php-jsstrip dash maintainers at fedoraproject dot org
.