npm image size reducer code example Example: image compression in nodejs Install npm install browser-image-compression --save