/http-teapot

Add support for RFC 2324 to any HTTP server

Primary LanguageJavaScriptMIT LicenseMIT

http-teapot

Add support for RFC 2324 to any HTTP server.

Utah Teapot

build status

Installation

npm install http-teapot

Usage

Just add http-teapot as a routing function. It supports most routing modules including Express and router.

Express example:

var teapot = require('http-teapot');
var app = express();

app.get('/teapot', teapot);

There is also a build in HTTP server that you can start from the command line by running:

npm start

License

MIT