fast_jsmin

This is a ruby -> c wrapper extension for Douglas Crockford's awesome jsmin.

Usage

require 'fast_jsmin'

jsmin = JSMin.new puts jsmin.minimize(File.read("foo.js"))

Install

gem install fast_jsmin