@elastic/spritezero-cli

3.0.0 • Public • Published

@elastic/spritezero-cli

A command-line interface to elastic/spritezero.

WTF? (Why The Fork?)

See elastic/spritezero

Installation

npm install -g @elastic/spritezero-cli

Usage

spritezero [output filename] [input directory]

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

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

/@elastic/spritezero-cli/

    Package Sidebar

    Install

    npm i @elastic/spritezero-cli

    Weekly Downloads

    9

    Version

    3.0.0

    License

    ISC

    Unpacked Size

    359 kB

    Total Files

    12

    Last publish

    Collaborators

    • jen-huang
    • delvedor
    • lukasolson
    • ccowan
    • jbudz
    • thomasneirynck
    • verogo
    • weltenwort
    • pugnascotia
    • zinckiwi
    • brandon.kobel
    • nreese
    • mgreau
    • jonahbull
    • jarpy
    • leathekd
    • lukeelmers
    • ddillinger
    • jasonstoltz
    • bamieh
    • markov00
    • joshmock
    • vignesh.shanmugam
    • watson
    • rhodesjason
    • jmlrt
    • mattkime
    • afoucret
    • nickpeihl
    • axw
    • mistic
    • elasticmachine
    • gtback
    • pickypg
    • trentm
    • andrewvc-elastic
    • jorge.sanz
    • stratoula
    • nkammah
    • streamich
    • nickofthyme
    • phoey1
    • breehall
    • kyrspl
    • johnwcambra
    • colleen.mcginnis
    • legrego
    • banerjeesoham004
    • patryk.kopycinski
    • kibanamachine
    • tkajtoch
    • cindy_c
    • cbishopewc
    • lenegadewoll
    • asnyder-elastic
    • lgestc
    • weronika-olejniczak
    • elena-shostak
    • kc13greiner
    • yan.savitski
    • jeramysoucy
    • miguel-elastic
    • bradtimmerman
    • obltmachine
    • jbwelastic
    • acstll
    • bmorelli25