Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 386 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 386 Bytes

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