https://github.com/phts/merge-svg-files
Merge multiple SVG files into single SVG file with symbols
https://github.com/phts/merge-svg-files
npm-package svg
Last synced: 6 months ago
JSON representation
Merge multiple SVG files into single SVG file with symbols
- Host: GitHub
- URL: https://github.com/phts/merge-svg-files
- Owner: phts
- License: mit
- Created: 2018-07-05T08:32:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T21:25:21.000Z (almost 8 years ago)
- Last Synced: 2025-09-20T12:54:44.065Z (10 months ago)
- Topics: npm-package, svg
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/merge-svg-files
- Size: 43.9 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# merge-svg-files
[](https://www.npmjs.com/package/merge-svg-files)
Merge multiple SVG files into single SVG file with symbols.
## Install
```
$ npm install -g merge-svg-files
```
## Usage
```
$ cd folder-with-svg-files
$ merge-svg-files
```
File `sprites.svg` will be generated.
Later in HTML you can use these symbols:
```html
```
### Options
* `--support-embed`
Generate SVG file which could be used in `` as well as in ``.
`` is supported by IE11 while `+` is not.
* `-h`, `--help`
Show help screen.
* `--version`
Print version.