New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

teapot-server

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

teapot-server

An Express.js Web server that handles teapot requests according to RFC 2324.

latest
Source
npmnpm
Version
1.1.2
Version published
Weekly downloads
8
166.67%
Maintainers
1
Weekly downloads
 
Created
Source

teapot-server

An HTTP teapot server

Git installation instructions:

$ git clone https://github.com/tom-weatherhead/teapot-server.git
$ cd teapot-server
$ npm install -g grunt
$ npm install
$ grunt

Note: The command "grunt" runs lint, unit tests, and security tests.

npm Installation Instructions:

$ npm install [--save] teapot-server

To test the sample driver (server.js) of the Web server component (app.js) :

$ npm start

Then browse to http://localhost:3000 to access the main page.

An HTTP GET of http://localhost:3000/teapot will receive a response with HTTP status code 418: I'm a teapot.

The port on which the server listens can be changed in config.json ; it defaults to port 3000.

See https://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol

See also http://www.rfc-base.org/rfc-2324.html

Keywords

chai

FAQs

Package last updated on 26 Aug 2017

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