imagemin-svgo
SVGO imagemin plugin
Install
$ npm install imagemin-svgo
Usage
const imagemin = ;const imageminSvgo = ; async { await ; console;};
API
imageminSvgo([options])(buffer)
Returns a Promise<Buffer>
.
options
Type: Object
Pass options to SVGO.
buffer
Type: Buffer
Buffer to optimize.
License
MIT © imagemin