A Lua-to-DiamondFire transpiler, version 1.0.2. Converts Lua code into DiamondFire code blocks for use within the Minecraft server plugin DiamondFire. No release cadence documented. Key differentiator: enables DiamondFire developers to write code in a higher-level language (Lua) instead of graphical blocks. Minimal documentation and low adoption.
npm install dfluaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transpile a simple Lua function into DiamondFire codeblocks.
Update code that expects JSON output to parse the string or handle string format.
Replace `target: 'codeblocks'` with `output: 'codeblocks'`.
Avoid using advanced Lua features until they are supported.
Run `npm install dflua` to install the package.
Use `import { transpile } from 'dflua'` instead of `import dflua from 'dflua'`.Add `"type": "module"` to package.json or use `.mjs` extension.
No dependency data recorded yet.