Description
KLibrary – Utility Framework for WoW Addons
KLibrary (or just KLib) is a lightweight, utility library designed to support addon development. It provides shared constants, formatting helpers, registration logic, and UI rendering utilities across the K-Suite ecosystem.
Installation
⚠️ Most users do not need to install KLib manually.
KLib is automatically installed as a dependency by any addon that uses it. If you're using a K-Suite addon or any other mod that depends on KLib, your addon manager (e.g. CurseForge) will handle installation for you.
Developer Usage
If you're developing your own addon and want to use KLib, simply declare it as a dependency in your .toc file:
## Dependencies: KLib
Then, to access KLib in your addon:
local KLib = _G.KLib
local Settings = KLib.Core:RegisterAddon("MyAddon", MyAddon)
The source file Klib.lua in the root folder shows what other modules are exported in the public API.
Testing
Use /klib in-game to print a summary of all registered addons and their metadata.
License
This project is open-source under the MIT License. See LICENSE.txt for details.


