Datapack.js
Datapack.js: A focused open-source API for generating Minecraft datapack functions with JavaScript or TypeScript. Ranked #22 of 22 in Minecraft Datapack Generators by our editors (6.9/10); pricing: Open source; best for javaScript or TypeScript function generation.
At a glance
- Editor score6.9 / 10
- PricingOpen source
- Best forJavaScript or TypeScript function generation
- Paid fromFree
- Export formatZip
- Facts checked20 Sep 2026

Where it wins
- Supports datapack authoring with JavaScript or TypeScript
- Registers MCFunction definitions with a datapack
- Generates ZIP output and installs through npm
Where it doesn't
- Focuses on functions rather than broader resource generation
- Does not provide a hosted no-code editor
- Validation is not part of its verified scope
Our verdict on Datapack.js
Datapack.js is an open-source JavaScript and TypeScript library for developers who want to build Minecraft datapacks programmatically. Its core API lets users define datapacks and Minecraft functions with MCFunction, register those functions, and generate output files. The product is aimed at developers comfortable with npm-based workflows rather than users looking for a hosted visual or no-code generator. Its API platform model also makes it a fit for projects where datapack creation belongs in a codebase.
The main strength is its focused function-generation workflow. Developers can install the core package through npm, define functions, register them with a datapack, and produce a ZIP export. Optional command modules add a modular way to support datapack development, while the JavaScript and TypeScript approach can fit existing projects built around those languages. This makes Datapack.js particularly suitable for repeatable, code-driven datapack authoring where functions are the central deliverable.
That focus also defines its limits. The verified scope centers on functions and does not extend to broader resource generation or validation, so projects requiring a wider datapack authoring system may need another tool or additional development work. Datapack.js should appeal to developers who want npm installation, programmatic control, and ZIP output for function-based datapacks. It is less suitable for creators who prefer a graphical workflow, need built-in validation, or want a broader generator covering more datapack resource types.
Your product? Our editors can test Datapack.js in depth and publish a review, labelled as paid · from $149/mo →
Datapack.js pricing
Datapack.js fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Function generation | Yes |
| Recipe generation | Not verified |
| Loot table generation | Not verified |
| Advancement generation | Not verified |
| Predicate generation | Not verified |
| Export format | Zip |
| Datapack validation | Not verified |
| Support | Docs |
| Built for | Solo, Small business (editorial estimate) |
| Pricing | Open source |
| Website | datapack.js.org |
| Facts checked | 20 Sep 2026 |
Alternatives to Datapack.js
- CobbleCobble brings typed authoring, validation, and broad data-pack output to Minecraft Java development.9.4
- KoreA developer-focused Kotlin DSL for typed, validated Minecraft datapack generation.9.3
- RedScriptA developer-focused datapack toolchain with validation, testing, and typed resource support.9.2
See all Datapack.js alternatives →
Used Datapack.js? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Datapack.js for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Datapack.js is listed in our Minecraft Datapack Generators directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/datapack-js/"><img src="https://www.itechguides.com/best/badge/datapack-js.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update

