compressing the image node code example Example: image compression in nodejs Install npm install browser-image-compression --save