hjsmin: Haskell implementation of a javascript minifier

[ bsd3, library, program, web ] [ Propose Tags ]

Reduces size of javascript files by stripping out extraneous whitespace and other syntactic elements, without changing the semantics.


[Skip to Readme]

Modules

[Index]

Flags

Automatic Flags
NameDescriptionDefault
buildtests

Build the executable to run unit tests

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.4.1, 0.1.4.2, 0.1.4.3, 0.1.4.4, 0.1.4.5, 0.1.4.6, 0.1.4.7, 0.1.4.8, 0.1.5.0, 0.1.5.1, 0.1.5.2, 0.1.5.3, 0.1.5.4, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.1
Dependencies attoparsec (>=0.8 && <0.9), base (>=4 && <5), blaze-builder (>=0.2 && <1), bytestring (>=0.9 && <0.10), HUnit, QuickCheck (>=2 && <3), test-framework, test-framework-hunit, text (>=0.8 && <1) [details]
License BSD-3-Clause
Author Alan Zimmerman <alan.zimm@gmail.com>
Maintainer Alan Zimmerman <alan.zimm@gmail.com>
Category Web
Home page http://github.com/alanz/hjsmin
Bug tracker http://github.com/alanz/hjsmin/issues
Source repo head: git clone git://github.com/alanz/hjsmin.git
Uploaded by AlanZimmerman at 2010-11-17T12:20:52Z
Distributions Arch:0.2.0.4, Debian:0.2.0.4, Fedora:0.2.1, FreeBSD:0.1.5.0, LTSHaskell:0.2.1, NixOS:0.2.1, Stackage:0.2.1, openSUSE:0.2.1
Reverse Dependencies 14 direct, 77 indirect [details]
Executables runtests
Downloads 61092 total (106 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hjsmin-0.0.3

[back to package description]

hjsmin

Haskell implementation of a javascript minifier

It is intended to be used in conjunction with Hamlet, part of Yesod.

As such, much of the structure of the package is shamelessly copied from Hamlet.

See http://github.com/snoyberg/hamlet

How to build

Library:

cabal clean && cabal configure && cabal build

Tests:

cabal clean && cabal configure -fbuildtests && cabal build

Running the tests

./dist/build/runtests/runtests