Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

http-teapot

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-teapot

Add a teapot easter egg to any HTTP server.

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

http-teapot

Add support for RFC 2324 to any HTTP server.

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

Keywords

teapot

FAQs

Package last updated on 14 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts