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

middleclass

A simple OOP library for Lua

$ luarocks install middleclass

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

Versions

4.1.1-08 years ago52,074 downloads
4.1-010 years ago7,431 downloads
4.0-010 years ago942 downloads
3.2-010 years ago38 downloads
3.1-010 years ago(revision: 2)33 downloads
3.0.0-112 years ago1,082 downloads
3.0-112 years ago309 downloads

Dependencies

lua >= 5.1

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

Manifests