Haskell implementation of a javascript minifier http://github.com/erikd/hjsmin

Version on this page:
LTS Haskell 16.15:
Stackage Nightly 2020-09-22:
Latest on Hackage:

See all snapshots hjsmin appears in

BSD-3-Clause licensed by Alan Zimmerman
Maintained by Erik de Castro Lopo

Module documentation for

This version can be pinned in stack with:hjsmin-,1602


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.