UNPKG

svg-symbols

Version:
18 lines (11 loc) 441 B
SVG SYMBOLS✨ =========== This is a simpe module that takes a folder of svgs and generates a symbol file. It also strips out the fill and stroke attributes so you can style them. [*you can use `svg-extract-styles` to pull the styles out into css first if you like.](https://github.com/kristoferjoseph/svg-extract-styles) Install ------- `npm i svg-symbols --save-dev` Usage ----- `svg-symbols ./directory-of-svgs > ./symbol-file.svg`