The hjsmin package

[Tags:bsd3, library, program]

Reduces size of javascript files by stripping out extraneous whitespace and other syntactic elements, without changing the semantics.


[Skip to Readme]

Properties

Versions 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.4.1, 0.1.4.2, 0.1.4.3, 0.1.4.4, 0.1.4.5, 0.1.4.6, 0.1.4.7, 0.1.4.8, 0.1.5.0, 0.1.5.1, 0.1.5.2, 0.1.5.3, 0.1.5.4, 0.2.0.0, 0.2.0.1, 0.2.0.2
Dependencies base (>=4.5 && <5), blaze-builder (>=0.2), bytestring (>=0.9), containers (>=0.2), language-javascript (==0.6.*), optparse-applicative (>=0.7), text (>=0.8) [details]
License BSD3
Author Alan Zimmerman <alan.zimm@gmail.com>
Maintainer Erik de Castro Lopo <erikd@mega-nerd.com>
Stability unstable
Category Web
Home page http://github.com/erikd/hjsmin
Bug tracker http://github.com/erikd/hjsmin/issues
Source repository head: git clone https://github.com/erikd/hjsmin.git
Uploaded Fri Aug 19 23:18:34 UTC 2016 by ErikDeCastroLopo
Distributions Arch:0.2.0.2, Debian:0.1.5.1, Fedora:0.2.0.1, FreeBSD:0.1.5.0, LTSHaskell:0.2.0.2, NixOS:0.2.0.2, Stackage:0.2.0.2, Tumbleweed:0.2.0.2
Downloads 29042 total (128 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-08-19 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hjsmin

Readme for hjsmin-0.2.0.2

hjsmin

Build Status

Haskell implementation of a command line javascript minifier.

The executable generated from this package simply does command line parsing before handing the off the minification process to the language-javascript package which also does the rendering.

How to build

cabal clean && cabal configure && cabal build

Tests

There are currently no tests, because all the heavy lifting is done by language-javascript.

Reporting Bugs

Bugs like failing to parse certain chunks of Javascript or errors in the minification process should be reported on the language-javascript issue tracker.

Bugs about failure to handle command line paramters should be reported on the hjsmin issue tracker.