1.0.2 • Published 6 years ago

svgenerator v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

svgenerator

Turns your SVG files into React components. Also takes the ID's of your SVG elements as names to group stroke and fill colors.

Usage

Checkout the project. Navigate to it and install it globally:

npm install -g svgenerator

Then you can simply use it wherever you need to:

svgenerator svg/ output/

Code

Apologies for the code, it's absolute crap. I just needed something quickly and figured someone else might find use for it.