1.0.2 • Published 4 years ago

stdin-server v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

STDIN Server

Build Status

A CLI to run a server from STDIN.

Usage

$ echo 'hello' | npx stdin-server
$ pbpaste | npx stdin-server

commands

$ npx stdin-server --help

  A CLI to run a server from STDIN.

  Usage
    $ stdin-server <input>

  Options
     --port, -p         port to be used
     --content-type, -c prefered MIME value for Content-Type response header
     --open, -o         open browser or not automatically

  Examples
     $ echo '<html>Hello!</html>' | stdin-server
     $ pbpaste | stdin-server # only with Mac
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago