SVGO is a Node.js library and command-line application for optimizing vector images.
svgo.dev
svg/svgo