thednp / svg-path-commander

Typescript tools for advanced processing of SVG path data.
https://thednp.github.io/svg-path-commander/
MIT License
222 stars 19 forks source link

getSVGMatrix not exposed #34

Closed justin-hackin closed 1 year ago

justin-hackin commented 1 year ago

Previously you had stated this function could be imported as such

import SVGPathCommander from 'svg-path-commander';
const { getSVGMatrix } = SVGPathCommander;

but that didn't work and, looking at the code, it appears as though you have not exported it in any way.

thednp commented 1 year ago

That is correct, I didn't think people would actually need that. (Sorry for the late reply, I forgot to answer in time)

thednp commented 1 year ago

v 2.0.6 will have the method exported to public static.