image-optimizer install deps: $ npm install prepare input and output folders: $ npm run prepare copy images inside _input folder (jpg, png, gif, webp allowed) run optimizer $ npm run optimize