Skip to content
Ruby/CLI: minify javascript + stylesheets, lossless image optimization
JavaScript Ruby
Find file
Latest commit 27f9e3b @grosser thanks for the help
Failed to load latest commit information.
bin Added html and xml to bin banner
lib v0.3.0
spec Added sample html file
vendor Added support for html compression through htmlcompressor
.gitignore added docs + bin
Gemfile cleanup
Gemfile.lock v0.3.0
Rakefile cleanup thanks for the help
reduce.gemspec manage via bundler

Lossless reduction for js, css, html, xml, jpg, png, gif


install ruby + rubygems
sudo gem install reduce


reduce -o public/image.gif
reduce public/javascripts/application.js > public/javascripts/application.min.js


-o, --overwrite                  overwrite file
-v, --version                    Show Version
-h, --help                       Show this.


reduced_data = Reduce.reduce('files/bla.js')

How does it work?



Michael Grosser
License: MIT

Something went wrong with that request. Please try again.