svg-icon-review
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published


logo

SVG Icon Review

Tool to review SVG icons automatically

CLI Command

The tool can be executed with this command:

npx svg-icon-review file1.svg file2.svg

It also supports glob file patterns to check multiple files matching the pattern like this:

npx svg-icon-review ./images/**/*.svg

The output is a preview of how the icons look in either dark or light backgrounds:

logo

Options

Optionally, an additional bigger icon (in size of 32x32px) will be shown in front of the preview. This is useful to see the icon in more detail. This can be done by adding the --bigIcon option like this:

npx svg-icon-review --bigIcon file1.svg file2.svg

The preview will look like this:

logo

If further help is needed, the --help option can be used:

npx svg-icon-review --help

Readme

Keywords

Package Sidebar

Install

npm i svg-icon-review

Weekly Downloads

12

Version

1.1.0

License

MIT

Unpacked Size

21.1 kB

Total Files

36

Last publish

Collaborators

  • pkief