Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/serviejs/servie-finalhandler
Servie final HTTP responder
https://github.com/serviejs/servie-finalhandler
404 finalhandler http response servie
Last synced: 8 days ago
JSON representation
Servie final HTTP responder
- Host: GitHub
- URL: https://github.com/serviejs/servie-finalhandler
- Owner: serviejs
- License: other
- Created: 2017-03-14T21:51:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-12T07:30:01.000Z (about 1 year ago)
- Last Synced: 2024-12-05T02:08:27.425Z (about 1 month ago)
- Topics: 404, finalhandler, http, response, servie
- Language: TypeScript
- Size: 118 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Servie Finalhandler
[![NPM version](https://img.shields.io/npm/v/servie-finalhandler.svg?style=flat)](https://npmjs.org/package/servie-finalhandler)
[![NPM downloads](https://img.shields.io/npm/dm/servie-finalhandler.svg?style=flat)](https://npmjs.org/package/servie-finalhandler)
[![Build status](https://img.shields.io/travis/serviejs/servie-finalhandler.svg?style=flat)](https://travis-ci.org/serviejs/servie-finalhandler)
[![Test coverage](https://img.shields.io/coveralls/serviejs/servie-finalhandler.svg?style=flat)](https://coveralls.io/r/serviejs/servie-finalhandler?branch=master)> Servie final HTTP 404 responder.
## Installation
```
npm install servie-finalhandler --save
```## Usage
```ts
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](https://github.com/Microsoft/TypeScript) and publishes the definitions directly to NPM.
## License
Apache 2.0