Flask router upgrade that adds `router.use` and `request.usePath` to easily nest isolated routers
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
README.md
index.js
package.json

README.md

flask router plus

Flask router upgrade that adds router.use and request.usePath to easily nest isolated routers

request.usePath

For every request sent to the router, returns the use path of the router i.e. the path in connect.use(path, flaskRouter)

router.use

router.use('/path', middleware, ...)

Like router.all, but modifies req.url to remove the path