Skip to content

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

Contributors