Skip to content

๐Ÿš€ Utility script to convert a folder of svg files to html files (incl. extra attributes)

License

Notifications You must be signed in to change notification settings

lukethacoder/svg-to-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

svg-to-html

Utility script to convert a folder of svg files to html files (incl. extra attributes).

Run the script

  1. Place your .svg files in the /svgs folder.
  2. Run node script.js
  3. Profit ๐Ÿš€

In addition to a folder of .html svgs, you get a nice js file with LWC based imports.


Example svgs thanks to tabler-icons

About

๐Ÿš€ Utility script to convert a folder of svg files to html files (incl. extra attributes)

Topics

Resources

License

Stars

Watchers

Forks