chaseottofy / svg-to-script

Convert SVG into a sequence of JavaScript commands capabale of recreating the Element in the DOM.

Home Page:https://chaseottofy.github.io/svg-to-script/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svg-to-script

Svg-to-script parses a valid SVG string and converts it into a sequence of JavaScript commands capable of recreating the SVG element.

Options to ignore IDs/Classes/Data-Attributes

screen input example

screen output example

About

Convert SVG into a sequence of JavaScript commands capabale of recreating the Element in the DOM.

https://chaseottofy.github.io/svg-to-script/

License:MIT License


Languages

Language:CSS 48.2%Language:TypeScript 26.9%Language:HTML 18.1%Language:JavaScript 6.8%