Nuix

Free Standalone ★ 4

Nuix is a type-safe TypeScript library for building FiveM NUI interfaces. It wraps common patterns such as sending typed requests to Lua, listening for SendNUIMessage events, Lua-style string formatting, and translation handling behind a clean, fully typed API.

Event maps let developers define exact request/response shapes for fetchNui calls and one-way messages, while utilities like luaFormat and the global _U translator handle locale data and safe placeholder replacement. The package has zero runtime dependencies and works with any frontend framework.

  • Fully typed fetchNui callbacks with optional timeout
  • onNuiMessage listeners with per-action typing
  • Lua-compatible string formatting (%s, %d, %f)
  • Global and isolated translation registration
  • Mock data and browser environment helpers for local dev
Categories: Phone & UI