svgo
SVGO is a Node.js library and command-line application for optimizing vector images.
sharp
High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images
d3-path
Serialize Canvas path commands to SVG.