Linden 56b99a7657 refactor(require): improve module resolution and debugging info
- Improved error messages.
- Include checked file paths on failed module resolution.
- Moved repeated code into separate functions.
- Workaround for incorrect "circular-dependency" error.
- Added additional package.path "./?/init.lua".
- Added support for package.searchers.
2024-04-05 21:53:48 +11:00
2022-11-24 17:02:03 +11:00
2022-07-05 05:17:52 +10:00
2023-07-29 07:52:49 +10:00

ox_lib

A FiveM library and resource implementing reusable modules, methods, and UI elements.

📚 Documentation

https://overextended.dev/ox_lib

💾 Download

https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip

npm Package

https://www.npmjs.com/package/@overextended/ox_lib

Lua Language Server

  • Install Lua Language Server to ease development with annotations, type checking, diagnostics, and more.
  • Install cfxlua-vscode to add natives and cfxlua runtime declarations to LLS.
  • You can load ox_lib into your global development environment by modifying workspace/user settings "Lua.workspace.library" with the resource path.
    • e.g. "c:/fxserver/resources/ox_lib"
Description
No description provided
Readme 5.7 MiB
Languages
Lua 62.5%
TypeScript 35.6%
CSS 1.7%