> For the complete documentation index, see [llms.txt](https://dirkscripts.gitbook.io/dirkscripts-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dirkscripts.gitbook.io/dirkscripts-documentation/resources/dirk-lib/modules.md).

# Modules

`dirk_lib` modules are lazy-loaded — they're only initialised when you first access them. You can optionally pre-load specific modules in your `fxmanifest.lua`:

```lua
dirk_libs {
  'math',
  'objects',
  'zones',
}
```

Otherwise, just use them directly (e.g. `lib.zones.register(...)`) and they'll load automatically on first call.
