This package can extract and download images from TexturePacker spritesheets using the TexturePacker JSON data.
npm i sprites-extract
1. Import the method `extractAndDownloadImages()`.
2. Call this method. Pass the paths of the TexturePacker spritesheet and JSON file as parameters (e.g., `extractAndDownloadImages("/path/to/spritesheet.png", "./path/to/spritesheet.json")`)
Note: It is intended to be used in a browser environment where the file is served to the browser.