An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# merge-svg-files

[![npm](https://img.shields.io/npm/v/merge-svg-files.svg)](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.