svg-minifier
JSON →svg-minifier (v2.0.0) is a Node.js tool to minify SVG files by optimizing them with SVGO and optionally generating a metadata JSON and runtime script. It supports batch processing from multiple directories, callbacks for SVG content, DOM manipulation via Cheerio, and custom naming with type suffixes. Compared to standalone SVGO, it provides a higher-level batch workflow with built-in metadata output, duplicate logging, and error handling. Release cadence is irregular, maintained by cenfun.
Resources
packagesvg-minifier ↗