Skip to content

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

License

Notifications You must be signed in to change notification settings

chaseottofy/svg-to-script

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published