1111235813213455·May 28, 2019
Hey, no, https://github.com/caub/im-optim runs on node.js, server-side, and it's not maintained. Someone else mentioned https://github.com/GoogleChromeLabs/squoosh for server-side image optimization, it might be better maintained, it seems to use webpack image optimizers plugins https://github.com/GoogleChromeLabs/squoosh/blob/master/pack.... There's also https://github.com/imagemin/imagemin for doing this
For https://caub.github.io/misc/optim, source: https://github.com/caub/misc/blob/master/optim.html, and it runs the following optimizers (compiled with emscripten to run browser-side) from a Web Worker: https://github.com/as-com/mozjpeg-js, https://github.com/psych0der/pngquantjs
In Show HN: Imgsquash – My image compression website project