@simon maybe svgo (jakearchibald.github.io/svgomg)