PHP-based JavaScript compressor
13.75 KB
built 2026-10-17 04:32:30 GMT
Description
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
Dependencies
8 totalRequires6
- php(language) >= 7.2.0
- php-composer(fedora/autoloader)
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides2
- php-composer(splitbrain/php-jsstrip) = 1.0.1
- php-splitbrain-php-jsstrip = 1.0.1-10.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
10
Files 1–10 of 10
Component of
buildroots that installed this RPMNo Buildroots
