/http-cat

Pipe to an http server

Primary LanguageJavaScript

HTTP-Cat

Pipe anything directly to an http server at a specific port.

echo "<h1>hello</h1>" | http-cat 2000
curl localhost:2000
<h1>hello</h1>

Install

npm install seanewest/http-cat