1.0.1 • Published 3 years ago
svgu v1.0.1
svgu
compress svg and copy data uri to clipboard.
Installation
$ npm i -g svgu
Usage
$ svgu <filePath>
You can paste to browser to view.
Then paste to url()
or src=""
in your project.
Reference
- SVGO: SVG Optimizer is a Nodejs-based tool for optimizing SVG vector graphics files.
- mini-svg-data-uri: This tool converts SVGs into the most compact, compressible data: URI that SVG-supporting browsers tolerate.