0.01
No commit activity in last 3 years
No release in over 3 years
Easily compress your files with html_compressor. Use html_compressor natively inside ruby code.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.4
 Project Readme

Ruby wrapper for HTML Compressor¶ ↑

Installation:¶ ↑

gem install html_compressor

Usage¶ ↑

require 'html_compressor'

compressor = HtmlCompressor::HtmlCompressor.new
compressor.compress(<<-END_HTML)
<html>     
 <head>
 </head>
 <body>
 fdgdfgf

 </body>
</html>  
END_HTML

Output “<html><head></head><body>fdgdfgf</body></html>”