not-found
Express/Connect middleware to serve a default not found/404 page.
Install
npm install not-found --save
Usage
Local file
var express = ;var notFound = ; var app = ; app; app;
Remote file
var express = ;var notFound = ; var app = ; app; app;
notFound(file)
file
- the path to the local file or a url for a remote file. This is required. It will skip the middleware if it is not provided or the file does not exists
Run Tests
npm install
npm test