JS Minifier API
curl -X POST -s --data-urlencode 'input=console.log( 1 );' https://www.toptal.com/developers/javascript-minifier/raw
curl -X POST -s --data-urlencode 'input@main.js' https://www.toptal.com/developers/javascript-minifier/raw > main.min.js
// Many files
for file in $(ls); do curl -X POST -s --data-urlencode "input@$file" https://www.toptal.com/developers/javascript-minifier/raw > "$file.min.js"; done
Tiago F2