This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

svgo-diff

0.0.5 • Public • Published

svgo-diff

Tool for optimizing SVG's with SVGO and checking visual difference.

How to use

$ npm install svgo-diff --save-dev
const svgoDiff = require('svgo-diff');

svgoDiff({ /* options */ });

svgoDiff({
    overwrite: true, // overwrite source files - {bool} default false
    sources: ['./some-dir/1.svg', '/path/some-dir/2.svg'], // source files - {array} default false
    diffPath: '/._diff', // tmp dir for diff files - {string}
    outputPath: './_dist', // destination for optimized SVG's - {string}
    sourcePath: `./_svg`, // source dir - {string}
    svgoConfigPath: './svgo.yml' // SVGO config path - {string}
});

Readme

Keywords

none

Package Sidebar

Install

npm i svgo-diff

Weekly Downloads

1

Version

0.0.5

License

ISC

Last publish

Collaborators

  • rudoy