Sometimes is useful to have an svg
done with path
s instead of elements
such as rect
, circle
, ellipse
, line
, polyline
or polygon
.
Like when you apply Compound Path in Adobe Illustrator.
Install
yarn add path-that-svg
Usage
String|Buffer
svg
const svgToPath = fs
Related
element-to-path Convert SVG element into path