1.0.1 • Published 3 years ago

svgu v1.0.1

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

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.