Skip to content

serviejs/servie-finalhandler

Repository files navigation

Servie Finalhandler

NPM version NPM downloads Build status Test coverage

Servie final HTTP 404 responder.

Installation

npm install servie-finalhandler --save

Usage

import { finalhandler } from "servie-finalhandler";

const app = compose([get(), post()]);
const req = new Request("/");

app(req, finalhandler(req));

TypeScript

This project is written using TypeScript and publishes the definitions directly to NPM.

License

Apache 2.0