svgsprites

Node js tool to generate sprites of both standard images and svg images

npm install svgsprites
4 downloads in the last week
9 downloads in the last month

svgsprites

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.

Requirements

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

Getting Started

Install the module with: npm install -g svgsprites and it should be available in your path.

cd image-folder
svgsprites --dir .

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

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.

Release History

(Nothing yet)

License

Copyright (c) 2012 Gerhard Sletten
Licensed under the MIT license.

npm loves you