spritezero-cli

A command-line interface to spritezero.

Showing:

Popularity

Downloads/wk

1

GitHub Stars

125

Maintenance

Last Commit

4yrs ago

Contributors

5

Package

Dependencies

5

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Deprecated!
This module is now under the @mapbox namespace: install @mapbox/spritezero-cli instead

Readme

npm version build status

spritezero-cli

A command-line interface to spritezero.

Installation

npm install -g @mapbox/spritezero-cli

Usage

spritezero [output filename] [input directory]

  --retina      shorthand for --ratio=2
  --ratio=[n]   pixel ratio
  --unique      map identical images to multiple names

Spritezero reads an input directory containing SVG files and generates a JSON layout file and PNG spritesheet.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100