0.0.10 • Published 6 years ago

mini-rest-404 v0.0.10

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

npm version Build Status Coverage Status Code Climate Inch CI

Dependency Status devDependency Status

mini-rest-404

404 Not Found Express error handler for mini-rest project Forwards new AppError('pageNotFound', req.originalUrl) to next middleware (assuming the next middleware is Error Handler.

If you have different needs regarding the functionality, please add a feature request.

Installation

npm install --save mini-rest-404

Usage

This line must be last after all the routes and middlewares except errorHandler:

  app.use(require('mini-rest-404')());
  app.use(require('mini-rest-error-handler')());

Credits

Alexander

Links to package pages:

github.com   npmjs.com   travis-ci.org   coveralls.io   inch-ci.org

License

MIT

0.0.10

6 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago