{"_id":"@altie122-studios/mc-animation-converter","_rev":"7-a104735c9bc0d0f97ef3c9ed83e2fa98","name":"@altie122-studios/mc-animation-converter","dist-tags":{"latest":"1.3.1"},"versions":{"1.0.0":{"name":"@altie122-studios/mc-animation-converter","version":"1.0.0","keywords":[],"author":{"name":"Altie122 Studios, LLC"},"license":"MIT","_id":"@altie122-studios/mc-animation-converter@1.0.0","maintainers":[{"name":"altie122","email":"altielynn@gmail.com"}],"homepage":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter#readme","bugs":{"url":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter/issues"},"dist":{"shasum":"64fb1bfc7157b511c1af20a512979a57962a08da","tarball":"https://registry.npmjs.org/@altie122-studios/mc-animation-converter/-/mc-animation-converter-1.0.0.tgz","fileCount":9,"integrity":"sha512-IaxBUvsbsZQPXRNZSKqaFZ/dxm9CTmcsNX9AuC/dDsULauncbx/9lahJAYESxNSAUvHHhFcvj/0+fN5G0ZIu4w==","signatures":[{"sig":"MEYCIQDvJAxEAzOh/+kzKA3SDtly69fSYzlBrZmoNbN+o36IfgIhAN0F+euGmlEr0WR0HFEXO7rkzRjC+BCd/m6kTRhqtS29","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":318728},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup","release":"changeset publish","version-packages":"changeset version"},"_npmUser":{"name":"altie122","email":"altielynn@gmail.com"},"repository":{"url":"git+https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter.git","type":"git"},"_npmVersion":"10.9.2","description":"Takes .png and .png.mcmeta files and makes a .apng out of them","directories":{},"_nodeVersion":"22.17.0","dependencies":{"zod":"^4.3.4","pako":"^1.0.11","sharp":"^0.34.5"},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.4","devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^22.0.3","@types/pako":"^2.0.4","@changesets/cli":"^2.29.8"},"_npmOperationalInternal":{"tmp":"tmp/mc-animation-converter_1.0.0_1767299457274_0.15818931537720893","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@altie122-studios/mc-animation-converter","version":"1.0.1","keywords":["minecraft animation","minecraft","animation","png","apng"],"author":{"name":"Altie122 Studios, LLC"},"license":"MIT","_id":"@altie122-studios/mc-animation-converter@1.0.1","maintainers":[{"name":"altie122","email":"altielynn@gmail.com"}],"homepage":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter#readme","bugs":{"url":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter/issues"},"dist":{"shasum":"7b649b4fc0e355ce3f8462576e7cde283c4ec774","tarball":"https://registry.npmjs.org/@altie122-studios/mc-animation-converter/-/mc-animation-converter-1.0.1.tgz","fileCount":9,"integrity":"sha512-/8esN4oc4kykPhQlDHnE/t92uIBYlSM3L6xZhL7jYrqUgIt2CrzCYYjGNfJd398SoPcRZSaIzqhev/qQo0bgJQ==","signatures":[{"sig":"MEUCIQCFAqj1aptSK2xiqbnHM9/3xWvd2Et4TMY0lHBAxw6vZwIgZIQmS4bXbMVqWlKF6TbR1LaOuaCdSNC02vmp15OuB7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altie122-studios%2fmc-animation-converter@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":313082},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5f825a8e370d33e562b35c27ad2ae90c19e5cc34","private":false,"scripts":{"dev":"tsup --watch","build":"tsup","release":"changeset publish","ci:publish":"pnpm build && npm publish","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:15a51895-27d5-41e7-9fbc-cdec03bd9c27"}},"repository":{"url":"git+https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter.git","type":"git"},"_npmVersion":"11.7.0","description":"Takes .png and .png.mcmeta files and makes a .apng out of them","directories":{},"_nodeVersion":"22.21.1","dependencies":{"zod":"^4.3.4","pako":"^1.0.11","sharp":"^0.34.5"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.4","devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^22.0.3","@types/pako":"^2.0.4","@changesets/cli":"^2.29.8"},"_npmOperationalInternal":{"tmp":"tmp/mc-animation-converter_1.0.1_1767314478098_0.5002781607214688","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@altie122-studios/mc-animation-converter","version":"1.1.0","keywords":["minecraft animation","minecraft","animation","png","apng"],"author":{"name":"Altie122 Studios, LLC"},"license":"MIT","_id":"@altie122-studios/mc-animation-converter@1.1.0","maintainers":[{"name":"altie122","email":"altielynn@gmail.com"}],"homepage":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter#readme","bugs":{"url":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter/issues"},"dist":{"shasum":"a375183a0b2eb4bebc1c0a1127415cbca30ba2dd","tarball":"https://registry.npmjs.org/@altie122-studios/mc-animation-converter/-/mc-animation-converter-1.1.0.tgz","fileCount":9,"integrity":"sha512-hxGNnhxkpvMfNjFOu4UVnxqFMOOL46vMEibyxC/OohyT8ZWTHw1d+Slvt0jcf4vncfuubFOzebSfRdJ9MJxXDw==","signatures":[{"sig":"MEUCIQDD2X5xHIfy4qeCC+0hOPCwht78FgPoy6uWH1MRvRMmggIgdZOCVFqq7U3yXCEy05UfzirY9pTLefndc2U0Mq8a/1U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altie122-studios%2fmc-animation-converter@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":318516},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"91db68ddb46f61b8a79db384c98891e4f354ff44","private":false,"scripts":{"dev":"tsup --watch","build":"tsup","release":"changeset publish","ci:publish":"pnpm build && npm publish","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:15a51895-27d5-41e7-9fbc-cdec03bd9c27"}},"repository":{"url":"git+https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter.git","type":"git"},"_npmVersion":"11.7.0","description":"Takes .png and .png.mcmeta files and converts them into one of a growing number of animation formats.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"zod":"^4.3.4","pako":"^1.0.11","sharp":"^0.34.5","gifenc":"^1.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.4","devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^22.0.3","@types/pako":"^2.0.4","@changesets/cli":"^2.29.8"},"_npmOperationalInternal":{"tmp":"tmp/mc-animation-converter_1.1.0_1767317458828_0.08230945635787879","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@altie122-studios/mc-animation-converter","version":"1.2.0","keywords":["minecraft animation","minecraft","animation","png","apng"],"author":{"name":"Altie122 Studios, LLC"},"license":"MIT","_id":"@altie122-studios/mc-animation-converter@1.2.0","maintainers":[{"name":"altie122","email":"altielynn@gmail.com"}],"homepage":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter#readme","bugs":{"url":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter/issues"},"dist":{"shasum":"e00db1d2899f4d58c3b9fc4b813253721236f622","tarball":"https://registry.npmjs.org/@altie122-studios/mc-animation-converter/-/mc-animation-converter-1.2.0.tgz","fileCount":9,"integrity":"sha512-+X9CZNs7CkLFU+vCaZhdYs5fBfUNFTv0HvvfeRWn/ME4QsaSFMzC/EHI8QCLGzQ4UylQm10cWCQ+XZWywrTP+w==","signatures":[{"sig":"MEUCIBgJiQy2brlo7YwEnIheoDj+qSeA0VH9oKTccEI8pYimAiEAjaXtSTHH4j5JEiUf6x3v8Qipq1w+W3gGtv1shCG8jA4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altie122-studios%2fmc-animation-converter@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":322565},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b6294e9440594951a60960ffe1e33ef77c34f611","private":false,"scripts":{"dev":"tsup --watch","test":"node test/test.js","build":"tsup","release":"changeset publish","ci:publish":"pnpm build && npm publish","version-packages":"changeset version"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:15a51895-27d5-41e7-9fbc-cdec03bd9c27"}},"repository":{"url":"git+https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter.git","type":"git"},"_npmVersion":"11.7.0","description":"Takes .png and .png.mcmeta files and converts them into one of a growing number of animation formats.","directories":{},"_nodeVersion":"22.21.1","dependencies":{"zod":"^4.3.4","pako":"^1.0.11","sharp":"^0.34.5","gifenc":"^1.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@10.12.4","devDependencies":{"tsup":"^8.5.1","typescript":"^5.9.3","@types/node":"^22.0.3","@types/pako":"^2.0.4","@changesets/cli":"^2.29.8"},"_npmOperationalInternal":{"tmp":"tmp/mc-animation-converter_1.2.0_1767325609411_0.04794497268387121","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@altie122-studios/mc-animation-converter","private":false,"version":"1.3.1","description":"Takes .png and .png.mcmeta files and converts them into one of a growing number of animation formats.","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter.git"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"publishConfig":{"access":"public","provenance":true},"keywords":["minecraft animation","minecraft","animation","png","apng"],"author":{"name":"Altie122 Studios, LLC"},"license":"MIT","engines":{"node":">=18"},"dependencies":{"gifenc":"^1.0.3","pako":"^1.0.11","sharp":"^0.34.5","zod":"^4.3.4"},"devDependencies":{"@biomejs/biome":"2.3.10","@changesets/cli":"^2.29.8","@types/node":"^22.0.3","@types/pako":"^2.0.4","tsup":"^8.5.1","typescript":"^5.9.3"},"scripts":{"build":"tsup","dev":"tsup --watch","format":"biome format --write","version-packages":"changeset version","release":"pnpm run build && changeset publish","version":"changeset version && pnpm install --no-frozen-lockfile && pnpm run format","test":"node test/test.js"},"_id":"@altie122-studios/mc-animation-converter@1.3.1","bugs":{"url":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter/issues"},"homepage":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter#readme","_integrity":"sha512-p4hEZAtvC2Z/zkxQjVLaknlXAUVLmO7FMGFCRzJaW+CdVNipwS1qDjsAzTmRjaajhbaAXS2mmsFdKFw0sc2nYQ==","_resolved":"/tmp/3c570aa04c3d5af06402b194c7c1f83c/altie122-studios-mc-animation-converter-1.3.1.tgz","_from":"file:altie122-studios-mc-animation-converter-1.3.1.tgz","_nodeVersion":"22.21.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-p4hEZAtvC2Z/zkxQjVLaknlXAUVLmO7FMGFCRzJaW+CdVNipwS1qDjsAzTmRjaajhbaAXS2mmsFdKFw0sc2nYQ==","shasum":"182451ee09a09cbf7ffdfc1cce40ec982a926c5f","tarball":"https://registry.npmjs.org/@altie122-studios/mc-animation-converter/-/mc-animation-converter-1.3.1.tgz","fileCount":9,"unpackedSize":372901,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@altie122-studios%2fmc-animation-converter@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDEEy/s/zgz1dbzvuAFz8Zon36huS3YXL/lKVLBhx/n7wIgGKFZgjugh5nMFgglyPcxoED8t9QxwQ7zm81Zk3efwx4="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:15a51895-27d5-41e7-9fbc-cdec03bd9c27"}},"directories":{},"maintainers":[{"name":"altie122","email":"altielynn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mc-animation-converter_1.3.1_1767397195043_0.09525367877810131"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-01T20:30:57.129Z","modified":"2026-01-02T23:39:55.597Z","1.0.0":"2026-01-01T20:30:57.421Z","1.0.1":"2026-01-02T00:41:18.241Z","1.1.0":"2026-01-02T01:30:59.027Z","1.2.0":"2026-01-02T03:46:49.593Z","1.3.0":"2026-01-02T23:24:40.371Z","1.3.1":"2026-01-02T23:39:55.212Z"},"bugs":{"url":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter/issues"},"author":{"name":"Altie122 Studios, LLC"},"license":"MIT","homepage":"https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter#readme","keywords":["minecraft animation","minecraft","animation","png","apng"],"repository":{"type":"git","url":"git+https://github.com/Unofficial-BlossomCraft-Wikis/MC-animation-converter.git"},"description":"Takes .png and .png.mcmeta files and converts them into one of a growing number of animation formats.","maintainers":[{"name":"altie122","email":"altielynn@gmail.com"}],"readme":"# MC animation converter\n\nTakes .png and .png.mcmeta files and converts them into one of a growing number of animation formats.\n\nAPNG export is recommended for most use cases, as it is lossless and supports transparency better than GIFs.\n\n## Installation\n\n```sh\nnpm i @altie122-studios/mc-animation-converter\n```\n\n## Usage\n\n### APNG\n```ts\nimport { convert } from \"@altie122-studios/mc-animation-converter\";\n\nconst input = {\n  png: fs.readFileSync(\"path/to/image.png\"),\n  mcmeta: fs.readFileSync(\"path/to/image.png.mcmeta\"),\n};\n\nconst output = await convert(input);\n\nfs.writeFileSync(\"path/to/output.apng\", output.export);\n```\n\n### GIF\n```ts\nimport { convert } from \"@altie122-studios/mc-animation-converter\";\n\nconst input = {\n  png: fs.readFileSync(\"path/to/image.png\"),\n  mcmeta: fs.readFileSync(\"path/to/image.png.mcmeta\"),\n};\n\nconst output = await convert({\n  ...input,\n  exportType: \"gif\",\n});\n\nfs.writeFileSync(\"path/to/output.gif\", output.export);\n```\n\nworking example in /test/test.js\n\n## License\n\nMIT\n\n## Credits\n\n- [UPNG.js](https://github.com/photopea/UPNG.js) (seen at /src/dep/UPNG.js/UPNG.js)\n- [DefinitelyTyped/upng-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/upng-js) (types in the /src/dep/UPNG.js/UPNG.js folder)\n\nBig thanks to [this Minecraft Forum post](https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/resource-packs/resource-pack-discussion/1256350-animation-in-resource-packs-a-minecraft-1-6) for helping make understanding how minecraft animations work way more possible.","readmeFilename":"README.md"}