SkillAgentSearch skills...

Reduce

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

Install / Use

/learn @grosser/Reduce
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

Contributors

Michael Grosser<br/> grosser.michael@gmail.com<br/> License: MIT

Related Skills

View on GitHub
GitHub Stars91
CategoryDevelopment
Updated1y ago
Forks5

Languages

JavaScript

Security Score

65/100

Audited on Apr 19, 2024

No findings