hasmin: CSS Minifier
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]
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.3.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 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.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.16), parsers (>=0.12.3 && <0.13), text (>=1.2 && <1.3) [details] |
License | BSD-3-Clause |
Copyright | © 2016-2018 Cristian Adrián Ontivero |
Author | Cristian Adrián Ontivero |
Maintainer | Cristian Adrián Ontivero <cristianontivero@gmail.com> |
Revised | Revision 1 made by contivero at 2019-09-06T10:17:33Z |
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-12-30T20:38:45Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | hasmin |
Downloads | 9302 total (32 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-12-30 [all 1 reports] |