Mods ​
Mods is a set of pure Lua modules for daily development. Minimal dependencies, predictable APIs, and support for Lua 5.1, 5.2, 5.3, 5.4, and LuaJIT. Use modules through require("mods") and access helpers via mods.<name>.
NOTE
We are still working on adding new modules and improving the docs.
Modules ​
| Module | Description |
|---|---|
is | Type predicates for Lua values and filesystem path kinds. |
List | Python-style list helpers for mapping, filtering, and slicing. |
operator | Operator helpers as functions. |
Set | Set operations and helpers for unique values. |
str | String utility helpers modeled after Python's str. |
stringcase | String case conversion helpers. |
tbl | Utility functions for plain Lua tables. |
template | Simple template rendering with value replacement. |
utils | Common utility helpers. |
validate | Validation helpers for Lua values. |
Contribute ​
Have an idea or found a bug? Open an issue, start a discussion, or submit a pull request.