Stylus Spriting

written in javascript, node.js, stylus

Hi Guys,

I built a tool to help to make sprites and stylus for sprites.

The tool are too simple yet, I need implement too many features, but if you want use, here it is:


To install I used a homebrew tool. For more instruction of installation go to GM Site.

$ brew update
$ brew install graphicsmagick

Installing stylus-spriting

$ npm install stylus-spriting -g


To use you need do like that:

$ stylus-spriting --help

Usage: stylus-spriting path/to/images/*.png [options]


-h, --help               output usage information
-V, --version            output the version number
--image <file>           Name for output image.
--stylus <file>          Name for output stylus.
--class-prefix <string>  Class prefix for stylus.
--debug <boolean>        Debugger mode.

If you are a node developer and want to help me, fork me on github.

Don’t forget to follow me on twitter and github.