aero icon indicating copy to clipboard operation
aero copied to clipboard

Parameter name mapping for routes

Open akyoto opened this issue 9 years ago • 0 comments

Add optional name mappings for route parameters so that we can have Express-like routing:

app.get('/users/:name')

In this case request.params[0] would also become accessible via request.params.name.

akyoto avatar Feb 29 '16 08:02 akyoto