hjsmin

Haskell implementation of a javascript minifier

http://github.com/erikd/hjsmin

Version on this page:0.2.0.4@rev:2
LTS Haskell 22.43:0.2.1
Stackage Nightly 2024-12-09: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.4@sha256:4e81260f019081f1bdd7e4e285b35f2f09eea83ff9cd721aaa4e0ba979228fa0,2237

Module documentation for 0.2.0.4

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.