Servie final HTTP 404 responder.
npm install servie-finalhandler --save
import { finalhandler } from "servie-finalhandler";
const app = compose([get(), post()]);
const req = new Request("/");
app(req, finalhandler(req));
This project is written using TypeScript and publishes the definitions directly to NPM.
Apache 2.0