compress image before send nodejs code example Example: image compression in nodejs Install npm install browser-image-compression --save