Ruby wrapper for js library html-minifier. If you want pure ruby use html_press
html_minifier
is available as ruby gem.
$ gem install html_minifier
Ensure that your environment has a JavaScript interpreter supported by ExecJS. Usually, installing therubyracer gem is the best alternative.
require 'html_minifier' HtmlMinifier.minify(File.read("source.html"))
When initializing HtmlMinifier
, you can pass options
HtmlMinifier::minifier.new( <options> ).minify(source) # Or HtmlMinifier.minify(source, <options>)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4