@streetcredlabs/spritezero-cli

2.1.1 • Public • Published

NOTE: This is a fork because the OG is no longer installable via npm and doesn't seem to be getting updated.

In this fork, we've updated the version of spritezero the same as this open PR https://github.com/mapbox/spritezero-cli/pull/28

npm version build status

spritezero-cli

A command-line interface to spritezero.

Installation

npm install -g @streetcredlabs/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.

Package Sidebar

Install

npm i @streetcredlabs/spritezero-cli

Weekly Downloads

2

Version

2.1.1

License

ISC

Unpacked Size

9.11 kB

Total Files

7

Last publish

Collaborators

  • mkong0216
  • bnchdrff
  • dianashk