perl-JavaScript-Minifier - Perl extension for minifying JavaScript code

Distribution: OpenMandriva Cooker
Repository: OpenMandriva Contrib x86_64
Package name: perl-JavaScript-Minifier
Package version: 1.110.0
Package release: 3-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 26.87 KB
Download size: 14.31 KB
Official Mirror:
This module removes unnecessary whitespace from JavaScript code. The primary requirement developing this module is to not break working code: if working JavaScript is in input then working JavaScript is output. It is ok if the input has missing semi-colons, snips like '++ +' or '12 .toString()', for example. Internet Explorer conditional comments are copied to the output but the code inside these comments will not be minified. The ECMAScript specifications allow for many different whitespace characters: space, horizontal tab, vertical tab, new line, carriage return, form feed, and paragraph separator. This module understands all of these as whitespace except for vertical tab and paragraph separator. These two types of whitespace are not minimized. For static JavaScript files, it is recommended that you minify during the build stage of web deployment. If you minify on-the-fly then it might be a good idea to cache the minified file. Minifying static files on-the-fly repeatedly is wasteful.



  • perl(JavaScript::Minifier) == 1.110.0
  • perl-JavaScript-Minifier == 1.110.0-3:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-JavaScript-Minifier rpm package:
      # urpmi perl-JavaScript-Minifier


    • /usr/lib/perl5/vendor_perl/5.20.1/JavaScript/
    • /usr/share/doc/perl-JavaScript-Minifier/Changes
    • /usr/share/doc/perl-JavaScript-Minifier/META.yml
    • /usr/share/doc/perl-JavaScript-Minifier/README
    • /usr/share/man/man3/JavaScript::Minifier.3pm.xz