Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.01 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.01 KB

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