Haskell implementation of a javascript minifier


Version on this page:
LTS Haskell 22.29:0.2.1
Stackage Nightly 2024-07-13:0.2.1
Latest on Hackage:0.2.1

See all snapshots hjsmin appears in

BSD-3-Clause licensed by Alan Zimmerman
Maintained by Erik de Castro Lopo
This version can be pinned in stack with:hjsmin-,1602

Module documentation for


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.