1.0.0-rc.2 • Published 1 year ago

@aautcq/svg-to-iconify v1.0.0-rc.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@aautcq/svg-to-iconify

NPM version NPM downloads License

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 labelDescriptionDefault value
-a, --authorIcon set author fieldos.userInfo().username
-p, --prefixIcon set prefix'custom'
-s, --sourcePath to the folder hosting the SVG files'.' (current folder)
-o, --outputPath to the output folder for the JSON fileSame as source

A JSON file containing the new icon set will be created in the output directory.

To do

  • Unit tests

License

MIT License