Skip to content
/ reduce Public

Ruby/CLI: minify javascript + stylesheets, lossless image optimization

Notifications You must be signed in to change notification settings

grosser/reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Install

install ruby + rubygems
sudo gem install reduce

Usage

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

Options

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

Ruby

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

How does it work?

Author

Michael Grosser
[email protected]
License: MIT

About

Ruby/CLI: minify javascript + stylesheets, lossless image optimization

Resources

Stars

Watchers

Forks

Packages

No packages published