Package : perl-JavaScript-Minifier > RPM : perl-JavaScript-Minifier-1.160.0-2.mga9.src.rpm

Basic items

Name perl-JavaScript-Minifier
Version 1.160.0
Release 2.mga9
URL https://metacpan.org/release/JavaScript-Minifier
Group Development/Perl
Summary Perl extension for minifying JavaScript code
Size 27KB
Arch noarch
License GPL+ or Artistic

Description

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.

Media information

Distribution release Mageia cauldron
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2022-03-21 14:59:28
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie