Skip to content
A command-line tool for combining SVG files into a single sprite sheet using <symbol> tags
JavaScript Batchfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin fix: Set inline flag to boolean and add defaults Nov 10, 2017
.gitignore Initial commit of svgstore tool Aug 16, 2016
CHANGELOG.md Update CHANGELOG.md Nov 10, 2017
LICENSE Initial commit of svgstore tool Aug 16, 2016
README.md Add --inline flag to strip XML doctype Aug 26, 2016
package.json 1.3.1 Nov 10, 2017

README.md

svgstore-cli

A command-line tool for combining SVG files into a single sprite sheet using <symbol> tags.

Installation

npm install -g svgstore-cli

Usage

svgstore [-o OUTFILE] [-p PREFIX] [--inline] INPUT ...
  • Multiple input files can be specified
  • Input files can be globs (e.g., **/*.svg)
  • Output to stdout by default
  • Can direct output to a file with the -o outfile flag
  • Can prefix the symbol names using the -p prefix flag
  • Supports --inline to avoid generating XML doctype

Licensed under MIT

You can’t perform that action at this time.