This project is a fork of the @mapbox/spritezero-cli
to support Node.js >= 14.0.0.
A command-line interface to spritezero.
npm install -g https://github.com/geoloniamaps/spritezero-cli
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.