Skip to content

Kartore/spritore

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published