@smellman/sprite-one
v0.0.3
Published
Generate sprite images and json without mapnik
Downloads
3
Readme
Generate sprite image and json without Mapnik
Install
yarn add @smellman/sprite-zero
or
npm install @smellman/sprite-zero
Usage
import { generateSprite } from '@smellman/sprite-one'
generateSprite('../out', '../input', 2).then(() => {})
Develop
via bin/index.ts
git clone https://github.com/smellman/sprite-one.git
cd sprite-one
yarn
npx ts-node bin/index.ts ../../tmp/out ../../tmp/maki/icons
npx ts-node bin/index.ts ../../tmp/out ../../tmp/maki/icons --ratio=2