0.0.3 • Published 2 years ago

@smellman/sprite-one v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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
0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago