luamin

JSON →
library 1.0.6 ·javascript
verified Jun 4, 2026

A Lua minifier written in JavaScript, modified for FiveM Lua 5.4. This package (v1.0.6) uses luaparse to parse Lua code into an AST and generates a compact semantically equivalent program. It has been tested in Chrome, Firefox, Safari, Opera, IE 6-11, Edge, Node.js v0.10-v5, and others. Key differentiators: focuses on Lua minification, supports CLI and browser usage, and accepts both source code and AST input.