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
Convert SVG into a sequence of JavaScript commands capabale of recreating the Element in the DOM.
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
Convert SVG into a sequence of JavaScript commands capabale of recreating the Element in the DOM.
https://chaseottofy.github.io/svg-to-script/
MIT License