1.1.0 • Published 7 years ago
merge-svg-files v1.1.0
merge-svg-files
Merge multiple SVG files into single SVG file with symbols.
Install
$ npm install -g merge-svg-filesUsage
$ cd folder-with-svg-files
$ merge-svg-filesFile sprites.svg will be generated.
Later in HTML you can use these symbols:
<svg><use href="sprites.svg#myicon"/></svg>Options
--support-embedGenerate SVG file which could be used in
<embed src="sprites.svg#myicon" />as well as in<svg><use href="sprites.svg#myicon"/></svg>.<embed>is supported by IE11 while<svg>+<use>is not.-h,--helpShow help screen.
--versionPrint version.