/svg-to-script

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

Primary LanguageCSSMIT LicenseMIT

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