2.1.0 • Published 12 months ago

svg-icon-review v2.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

CLI Command

The tool can be executed with this command:

bunx svg-icon-review file1.svg file2.svg

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

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

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

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:

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

The preview will look like this:

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

bunx svg-icon-review --help

Instead of "bunx" you can use "npx" if you prefer Node.js.

Development

For the development of this tool, Bun.js is used. First you have to install the dependencies:

bun install

Then you can run the tool with:

bun run start

It is going to create a preview image of the logo.svg file in the root directory.

Formatting and Linting

To format the code, run:

bun run format

To lint the code, run:

bun run lint
2.0.3

1 year ago

2.0.2

1 year ago

2.1.0

12 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.3-alpha.9

2 years ago

0.1.3-alpha.8

2 years ago

0.1.3-alpha.7

2 years ago

0.1.3-alpha.6

2 years ago

0.1.3-alpha.5

2 years ago

0.1.3-alpha.4

2 years ago

0.1.3-alpha.3

2 years ago

0.1.3-alpha.2

2 years ago

0.1.3-alpha.1

2 years ago

0.1.3-alpha.0

2 years ago

0.1.2-alpha.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago