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: 3 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-12T21:25:21.000Z (almost 7 years ago)
- Last Synced: 2025-02-28T15:11:35.790Z (3 months ago)
- Topics: npm-package, svg
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/merge-svg-files
- Size: 43.9 KB
- Stars: 2
- Watchers: 4
- 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.