Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does anyone knows a REST based CSS minifier? [closed]

Tags:

rest

css

minify

api

I have a handler that needs to read the content of a CSS file, and then output the content minified.

So thats why I'm looking for a minifier that would work as a REST api, so I can send content, and get back the response to output this content to the user. Something like the Closure compiler REST service, but for CSS.

like image 751
MissRaphie Avatar asked Nov 25 '11 15:11

MissRaphie


2 Answers

Check this website - http://cssminifier.com/

They offer an API to use with POST requests

like image 32
Yaron Ben-Ami Avatar answered Nov 16 '22 01:11

Yaron Ben-Ami


Check this (http://reducisaurus.appspot.com/css?url=YOUR_CSS_FILE_URL). Not actually a web service, but very close. Googlecode

like image 167
madhead - StandWithUkraine Avatar answered Nov 16 '22 02:11

madhead - StandWithUkraine