node-aseprite
Node.js implementation of Aseprite file format parsing using Kaitai struct definitions.
Installation
$ npm install --save aseprite
Usage
const Aseprite = require('aseprite');
const fs = require('fs');
const contents = fs.readFileSync('my-sprite.ase');
const ase = Aseprite.parse(contents, {
clean: true
inflate: true
});
const cleanedAse = Aseprite.clean(ase);
const inflatedAse = Aseprite.inflate(ase);
console.log(require('util').inspect(ase, {depth: null, colors: true}));
License
Copyright © 2020, Wavetilt LLC. Released under the MIT License.