@visiosoft/spritezero-cli

2.3.4 • Public • Published

spritezero-cli

A command-line interface to spritezero.

This is a fork of the original https://github.com/mapbox/spritezero-cli.

Installation

npm install -g @visiosoft/spritezero-cli

or

yarn global add @visiosoft/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 @visiosoft/spritezero-cli

Weekly Downloads

0

Version

2.3.4

License

ISC

Unpacked Size

8.74 kB

Total Files

11

Last publish

Collaborators

  • muammertp
  • vedatakd
  • ozcan.durak