Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 89bfd4c23e0f470d53be0b4a5517ebdc > files > 3

perl-JavaScript-Minifier-1.140.0-4.mga7.noarch.rpm

This is the Perl distribution JavaScript-Minifier.

Installing JavaScript-Minifier is straightforward.

## Installation with cpanm

If you have cpanm, you only need one line:

    % cpanm JavaScript::Minifier

If you are installing into a system-wide directory, you may need to pass the
"-S" flag to cpanm, which uses sudo to install the module:

    % cpanm -S JavaScript::Minifier

## Installing with the CPAN shell

Alternatively, if your CPAN shell is set up, you should just be able to do:

    % cpan JavaScript::Minifier

## Manual installation

As a last resort, you can manually install it. Download the tarball, untar it,
then build it:

    % perl Makefile.PL
    % make && make test

Then install it:

    % make install

If you are installing into a system-wide directory, you may need to run:

    % sudo make install

## Documentation

JavaScript-Minifier documentation is available as POD.
You can run perldoc from a shell to read the documentation:

    % perldoc JavaScript::Minifier