hasmin: CSS Minifier
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
A CSS minifier which not only aims at reducing the amount of bytes of the output, but also at improving gzip compression. It may be used as a library, or a stand-alone executable. For the library, refer to the Hasmin module documentation. For the program: the output is the minified CSS file, but hasmin allows also its compression into gzip using Google's Zopfli library.
To use it: ./hasmin input.css > output.css
By default, most minification techniques are enabled. For a list of available flags, do: ./hasmin --help
[Skip to Readme]
Properties
Versions | 0.3.0.1, 0.3.1.3, 0.3.2, 0.3.2.1, 0.3.2.2, 0.3.2.3, 0.3.2.4, 0.3.3, 0.3.3.1, 1.0, 1.0.1, 1.0.2, 1.0.2.1, 1.0.2.1, 1.0.3 |
---|---|
Change log | CHANGELOG.md |
Dependencies | attoparsec (>=0.12 && <0.14), base (>=4.10 && <5.0), bytestring (>=0.10.2.0 && <0.11), containers (>=0.5 && <0.7), gitrev (>=1.0.0 && <1.4), hasmin, hopfli (>=0.2 && <0.4), matrix (>=0.3.4 && <0.4), mtl (>=2.2.1 && <2.3), numbers (>=3000.2.0.0 && <3000.3), optparse-applicative (>=0.11 && <0.15), parsers (>=0.12.3 && <0.13), text (>=1.2 && <1.3) [details] |
License | BSD-3-Clause |
Author | (c) 2017 Cristian Adrián Ontivero <cristianontivero@gmail.com> |
Maintainer | Cristian Adrián Ontivero <cristianontivero@gmail.com> |
Category | Text |
Home page | https://github.com/contivero/hasmin#readme |
Bug tracker | https://github.com/contivero/hasmin/issues |
Source repo | head: git clone https://github.com/contivero/hasmin.git |
Uploaded | by contivero at 2018-08-28T09:02:54Z |
Modules
[Index] [Quick Jump]
- Hasmin
- Hasmin.Class
- Hasmin.Config
- Parser
- Hasmin.Parser.BasicShape
- Hasmin.Parser.BorderRadius
- Hasmin.Parser.Color
- Hasmin.Parser.Dimension
- Hasmin.Parser.Gradient
- Hasmin.Parser.Internal
- Hasmin.Parser.Numeric
- Hasmin.Parser.PercentageLength
- Hasmin.Parser.Position
- Hasmin.Parser.Primitives
- Hasmin.Parser.Selector
- Hasmin.Parser.String
- Hasmin.Parser.TimingFunction
- Hasmin.Parser.TransformFunction
- Hasmin.Parser.Value
- Types
- Hasmin.Types.BasicShape
- Hasmin.Types.BgSize
- Hasmin.Types.BorderRadius
- Hasmin.Types.Color
- Hasmin.Types.Declaration
- Hasmin.Types.Dimension
- Hasmin.Types.FilterFunction
- Hasmin.Types.Numeric
- Hasmin.Types.PercentageLength
- Hasmin.Types.Position
- Hasmin.Types.RepeatStyle
- Hasmin.Types.String
- Hasmin.Types.Stylesheet
- Hasmin.Types.TimingFunction
- Hasmin.Types.TransformFunction
- Hasmin.Types.Value
- Hasmin.Utils
Downloads
- hasmin-1.0.2.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees