Thanks to visit codestin.com
Credit goes to github.com

Skip to content

yuerdev/simplify-svg

 
 

Repository files navigation

Simplify SVG

Simplify SVG which is exported by Sketch/Illustrator etc.

NPM Build Status

Usage

Use @morlay/simplify-svg

simplifySvg(svgString: string, plugins?: IPluginConfig[]): string

Notices

  • All shape will be transformed to path
  • stoken-width should be transformed by Sketch or Illustrator, if want the SVG unlimited scalable

About

svg formatter clear some attr

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%