svg-flatten

Turns SVG shapes (polygon, polyline, rect, g) into SVG paths. It can merge groups and apply transforms.

Usage no npm install needed!

<script type="module">
  import svgFlatten from 'https://cdn.skypack.dev/svg-flatten';
</script>

README

svg-flatten

Turns SVG shapes (polygon, polyline, rect, g) into SVG paths. It can merge groups and apply transforms

Todo: WTFM!