d3-path

Serialize Canvas path commands to SVG.

d3d3-modulecanvaspathsvggraphicsCanvasRenderingContext2DCanvasPathMethodsPath2D

https://d3js.org/d3-path/