Node js tool to generate sprites of both standard images and svg images. It is a modified version of SpriteGen with code from svg2png which first convert all svg-images to PNG before creating a sprite.png and sprite.css of all images.
Please install Phantomjs so that their shell command is available in your path. You can install Phantomjs with HomeBrew by:
brew update && brew install phantomjs
Install the module with:
npm install -g svgsprites and it should be available in your path.
cd image-folder svgsprites --dir .
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Copyright (c) 2012 Gerhard Sletten
Licensed under the MIT license.