CSS::Compressor(3pm)

CSS::Compressor3pm

Perl extension for css minification

Usage

  use CSS::Compressor qw( css_compress );
  ...
  my $small = css_compress $css;

Overview

This module is an implementation of the CSS parts of Yahoo! YUIcompressor in Perl. It was needed to produce minified css on the fly using Perl based backend systems.

Functions

css_compress( $source )

Takes the stylesheet source, minifies it and returns the result string.

Acknowledgment

This module was originally developed for Booking.com. With approval from Booking.com, this module was generalized and put on CPAN, for which the author would like to express his gratitude.

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8–9
  2. 10–11
  3. 12–13

Author

Simon Bertrang, <[email protected]>

From libcss-compressor-perl 0.05-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.