CSS Minifier API


#JS Minifier
for file in $(ls|grep '\.js'); do curl -X POST -s --data-urlencode "input@${file}" https://www.toptal.com/developers/javascript-minifier/raw > "${file}.min.js"; done

## CSS Minifier
# https://www.toptal.com/developers/cssminifier/api
for file in $(ls |grep '\.css'); do curl -X POST -s --data-urlencode "input@${file}" https://www.toptal.com/developers/cssminifier/raw > "${file}.min.css" ; done
Tiago F2