2017 © Pedro Peláez
 

library jsmin

Library for minifying JavaScript files

image

werkint/jsmin

Library for minifying JavaScript files

  • Sunday, November 10, 2013
  • by nick4fake
  • Repository
  • 1 Watchers
  • 1 Stars
  • 89,642 Installations
  • PHP
  • 7 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

JSMin.php - modified PHP implementation of Douglas Crockford's JSMin., (*1)

$minifiedJs = \JSMin\Minify::minify($js); , (*2)

This is a modified port of jsmin.c. Improvements:, (*3)

Does not choke on some regexp literals containing quote characters. E.g. /'/, (*4)

Spaces are preserved after some add/sub operators, so they are not mistakenly converted to post-inc/dec. E.g. a + ++b -> a+ ++b, (*5)

Preserves multi-line comments that begin with /*!, (*6)

The Versions

10/11 2013

dev-master

9999999-dev

Library for minifying JavaScript files

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Ryan Grove
by Bogdan Yurov

10/11 2013

1.0.0

1.0.0.0

Library for minifying JavaScript files

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Ryan Grove
by Bogdan Yurov