hjsmin

Haskell implementation of a javascript minifier

http://github.com/erikd/hjsmin

Version on this page:0.2.0.2
LTS Haskell 22.13:0.2.1
Stackage Nightly 2024-03-14: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-0.2.0.2@sha256:48e1e03575eee7c1346923462c3627f9a2d8c63ef5c70b356ccaad033029497f,1602

Module documentation for 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.