Simple node script, used via cli - to upload and process images via http://optimizilla.com/
npm i optimizilla-cli -g
optimizilla [FILENAME]
Options
--output, -o Destination of the optimized file
--replace, -r Replace the original file
--dry, -d Dry run, upload, optimize and print out links
Examples
$ optimizilla xpto.jpg --output ./ --replace
- Multiple files upload
- Seperate into helpers
- Better error checking
- Options
- Help text
- Tests
PRs accepted.
MIT © Dmitri Kunin