express-not-founddeprecated

`NotFound` middleware for Express.js

Usage no npm install needed!

<script type="module">
  import expressNotFound from 'https://cdn.skypack.dev/express-not-found';
</script>

README

Software License Maintainability Build Status Coverage Status

express-not-found

NotFound middleware for Express.js

Install

npm i express-not-found

Usage

const express = require('express');
const app = express();

app.use(/* Your routes */);

app.use(require('express-not-found'));
app.use(/* Your global error handler */);

app.listen(...);

License

MIT

Copyright ©2018 Hiroaki SHIBUKI a.k.a. hidori