0.0.10 • Published 8 years ago

mini-rest-404 v0.0.10

Weekly downloads
12
License
MIT
Repository
github
Last release
8 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

8 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago