3.0.2 • Published 4 years ago

svg-stringifier v3.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 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-stringifier

#or

yarn add svg-stringifier

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: pathfit library

Svg parsing library: svg-parser

Beautifier: js-beautify

Can only process single path SVG files. Can extract a nested path.

3.0.2

4 years ago

3.0.1

4 years ago

2.0.9

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago