JavaScript Minifier Wget Example
Check the example on how to use
wget
to minify a JavaScript hardcoded string and output to stdout:wget -q --post-data='input=console.log( 1 )' -O - https://www.toptal.com/developers/javascript-minifier/api/raw
Output:
console.log(1)