Extended, but still simple and fast router for connect or other middleware with the same interface.
npm install connect-route-ext
var connectRoute =var connect =var app =appapp
This project started as a fork of connect-route and added functionality to support usage scenarios needed by a more complex server, which supports an SPA:
- Match the rest of the path by "*path" parameter
- Pass multiple chained handlers to a single route
In lieu of a formal style guide, take care to maintain the existing coding style.
Copyright (c) 2017-2020 Ferdinand Prantl Copyright (c) 2012 Vadim M. Baryshev
Licensed under the MIT license.