I've written an awesome API Router based on Radix Tree. It's lightweight, modern, OpenAPI friendly, and extensible(You can add as many custom matchers as needed). The most important thing is it's
the fastest API Router in Lua/LuaJIT.
The router is written in pure Lua and can run in Lua interpreter(>= 5.2). The Router can also run in LuaJIT for the best performance since the util functions will switch to the JIT version if possible.
For those interested:
https://github.com/vm-001/lua-radix-routerI'm currently adding more and more real-world user cases for the Router. See
https://github.com/vm-001/lua-radix-router-use-cases