Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.71 KB

README.md

File metadata and controls

50 lines (33 loc) · 1.71 KB

@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 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

License

MIT License