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]
- 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.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
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.6), 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-03-25T14:44:39Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | hasmin |
Downloads | 9398 total (1 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-03-25 [all 1 reports] |