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]


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,,,,,,,,,,,,,,,,
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 <>
Maintainer Erik de Castro Lopo <>
Stability unstable
Category Web
Home page
Bug tracker
Source repository head: git clone
Uploaded Fri Aug 19 23:18:34 UTC 2016 by ErikDeCastroLopo
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 28817 total (98 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2016-08-19 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for hjsmin

Readme for 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


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.