lukethacoder / svg-to-html

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%