useful for replacing inline svg, without losing ability to change colors
npm install svg-stringify
#or
yarn add svg-stringify
add script to your package.json
svg-stringify {pathToSvgIcons}
generates "import-SvgIconsFolder.js" and typescript module
Can be used in Quasar's iconMapFn to create custom icon sets.
Works great with jam icons.
Icon normalization library: pathfit
Svg parsing library: svg-parser
Beautifier: js-beautify
Primitives to path converter: element-to-path
It can now be used with multi path SVGs
Styles are not included by default; to use them add
--styles
option