router

A barebones router for Lua. It matches urls and executes lua functions

$ luarocks install router

Features: 1) Allows binding a method and a path to a function 2) Parses parameters like /app/services/:service_id 3) It's platform-agnostic. It has been tested with openresty.

Versions

2.1-01 year ago10,328 downloads
1.0-11 year ago17 downloads
1.0-02 years ago12 downloads

Dependencies

lua >= 5.1

Labels

Manifests