3.3.2 • Published 3 years ago

svg-stringify v3.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

svg-stringify

extract path to from svg files and generate an index


useful for replacing inline svg, without losing ability to change colors

Install

npm install svg-stringify

#or

yarn add svg-stringify

Run

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.

Attributions:

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

Lacks Window's paths naming convention support

Styles are not included by default; to use them add --styles option

3.3.1

3 years ago

3.3.2

3 years ago

3.2.7

3 years ago

3.2.6

3 years ago

3.2.4

3 years ago

3.2.3

3 years ago

3.2.2

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago