express-nemo-route-not-found
Version:
A middleware for express to add a route that handles all not found routes
10 lines (6 loc) • 584 B
Markdown
# express-nemo-route-not-found
A route middleware that handle unhandled routes and returns 404 when server has no handler for that request.
## Options
| Name | Required | Default value | Description |
| --------------------------- | -------- | ------------- | --------------------------------------------------------------------------------- |
| notFoundResponseTemplate | | func | A function receiving the request and response object, returning a client response. |