add compression to node js code example Example: image compression in nodejs Install npm install browser-image-compression --save