@aautcq/svg-to-iconify
v1.0.0-rc.2
Published
Create Iconify icon sets from SVG files
Downloads
2
Readme
@aautcq/svg-to-iconify
Converts SVG icons to Iconify JSON data, allowing the use of popular Nuxt modules such as Nuxt Icon or NuxtUI.
Installation
Using NPM or whatever your preferred package manager is
npm i -g @aautcq/svg-to-iconify
Usage
svg-to-iconify
The svg-to-iconify
command comes with the following options
| Option label | Description | Default value |
| ------------ | ----------- | ------------- |
| -a
, --author
| Icon set author field | os.userInfo().username
|
| -p
, --prefix
| Icon set prefix | 'custom'
|
| -s
, --source
| Path to the folder hosting the SVG files | '.'
(current folder) |
| -o
, --output
| Path to the output folder for the JSON file | Same as source |
A JSON file containing the new icon set will be created in the output directory.
To do
- Unit tests