Minimal port of the functionality offered by Express.js Route Param Pre-conditions
This basically piggy-backs on the server.use method. It attaches a new middleware function that only fires if the specified parameter exists in req.params
This might be too simplistic, if so I can beef it up a bit. :)
Adding basic support for `server.param`, similar to Express.js Route …
Looks good Dominic, thanks!
Merge pull request #93 from dominicbarnes/param
Minimal Port of Express.js Route Param Pre-conditions
I was searching for something like this. It looks like it's just not documented in the API Guide.