LuaRocks.org had a security incident in September 2026. Read the incident report.

middleclass

A simple OOP library for Lua

$ luarocks install luarocks/middleclass

It has inheritance, metamethods (operators), class variables and weak mixin support

Versions

3.0.0-112 years ago93 downloads
3.0-112 years ago2,022 downloads

Dependencies

lua >= 5.1, < 5.3

Dependency for

animation.nvim, behaviour_tree, biohazardcore, emma, hyper-ecs, lightdrop, LinkedList, love-release, lua-context, lua-errhandler, lua-forms, lua-moongo, Lua-Telegram-Bot, lualife, luamath, luaplot, Luark, luatypechecks, moontastic, rude, typed, windows.nvim

Labels