Skip to content

Function: convertProject() ​

convertProject(files, options?): ConvertResult

Defined in: src/index.ts:43

Convert a SpriteStudio project to .ssab/.ssqb.

files maps every path in the project directory to its bytes, and must hold exactly one .sspj: the converter takes no name, so leave out any other .sspj in that directory (locateProject throws on more than one). Pure — no fs, no DOM. Call init first.

Parameters ​

files ​

Map<string, Uint8Array<ArrayBufferLike>>

options? ​

ConvertOptions = {}

Returns ​

ConvertResult