SVG.js

svg.topoly.js

svg.topoly.js to convert a path to polygon or polyline.

Fork me on GitHub