hjsmin

Haskell implementation of a javascript minifier

http://github.com/erikd/hjsmin

Version on this page:0.2.0.4@rev:1
LTS Haskell 22.14:0.2.1
Stackage Nightly 2024-03-28: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:20f373eb02ebdd72b07a7c0745956cadb1e3a1277ee14b39ae15a8e19b11275a,2260

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.