0.0.1 • Published 2 years ago
@kartore/spritore v0.0.1
spritore
What's this?
This is a library that allows you to create sprites for Vector Tile maps with fewer settings than spritezero or spritesmith. Even svg files and other image files that cannot be converted properly by spritezero can be converted to Sprite (with some force).
Usage
const { generate } = require("@kartore/spritore")
const path = require("path")
generate({
inputPath: path.join(__dirname, "input"),
outputPath: path.join(__dirname, "output"),
outputFileName: "sprite"
})
Installation
Requires nodejs v14.0.0 or greater.
$ npm install @kartore/spritore
0.0.1
2 years ago