kikito/middleclass
Object-orientation for Lua observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 50
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5978
- days_rel: n/a
- days_push: 303
- n_releases_24m: 0
Adoption not part of the score
1919 stars · 196 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Middleclass is a lightweight object-orientation library for Lua providing classes, inheritance, metamethods, class variables, and mixin support in a single file. It is widely used in Lua game development and scripting.
Use cases
- add classes and inheritance to lua code
- object-oriented programming in lua
- lua class library with mixins
- define classes with constructors in lua
- operator overloading via metamethods in lua
- oop for love2d or game scripting
When to choose
- you want a small, dependency-free, single-file OOP solution for Lua
- you need inheritance, class variables, and mixins with a simple API
- you are writing games or scripts in Lua and want familiar class semantics
When to avoid
- you need multiple inheritance or advanced type checking
- you are using Lua 5.4+ and prefer native or alternative OOP mechanisms
- your project requires a full-featured class system with strict typing
Facets
library · maturity stable
programming-language developer-tools programming-languages developer-tools lua cross-platform oop class-system inheritance mixins metamethods single-file-library game-development
2 sources
- readme: https://github.com/kikito/middleclass · fetched 2026-08-28 · 8a28b8002268
- homepage: https://github.com/kikito/middleclass · fetched 2026-08-29 · 712d9cd33a77
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kikito/middleclass | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="kikito/middleclass")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem