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]
Versions [RSS] [faq] 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
Dependencies base (>=4.8 && <5), bytestring (==0.10.*), language-javascript (>=0.6 && <0.8), optparse-applicative (>=0.7), text (==1.2.*) [details]
License BSD-3-Clause
Author Alan Zimmerman <alan.zimm@gmail.com>
Maintainer Erik de Castro Lopo <erikd@mega-nerd.com>
Revised Revision 1 made by sjakobi at 2021-12-01T20:12:17Z
Category Web
Home page http://github.com/erikd/hjsmin
Bug tracker http://github.com/erikd/hjsmin/issues
Source repo head: git clone https://github.com/erikd/hjsmin.git
Uploaded by ErikDeCastroLopo at 2019-10-18T22:13:04Z
Distributions Arch:0.2.0.4, Debian:0.2.0.2, Fedora:0.2.0.4, FreeBSD:0.1.5.0, LTSHaskell:0.2.0.4, NixOS:0.2.0.4, Stackage:0.2.0.4, openSUSE:0.2.0.4
Executables hjsmin
Downloads 57116 total (749 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-10-18 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for hjsmin-0.2.0.4

[back to package description]

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.