hjsmin: Haskell implementation of a javascript minifier

[ bsd3, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Modules

[Index] [Quick Jump]

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 base (>=4.9 && <5), bytestring (>=0.11), language-javascript (>=0.6 && <0.8), optparse-applicative (>=0.7), text (>=2) [details]
License BSD-3-Clause
Author Alan Zimmerman <alan.zimm@gmail.com>
Maintainer Erik de Castro Lopo <erikd@mega-nerd.com>
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 2023-01-11T02:35:34Z
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 hjsmin
Downloads 62369 total (79 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
All reported builds failed as of 2023-01-11 [all 1 reports]

Readme for hjsmin-0.2.1

[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.