neojski / simple-http-server

Simple implementation of simple http server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple-http-server

This is simple but functional http server with the following features:

  1. start with chosen port shs --port 8080 (defaults to 8000)
  2. show directory listing
  3. show 404 if appropriate
  4. send files with guessed content-type

It was written as python2 -m SimpleHTTPServer replacement and to play with coffescript.

Installation

You can use npm registry:

npm install -g shs

About

Simple implementation of simple http server

License:MIT License


Languages

Language:CoffeeScript 78.7%Language:JavaScript 21.3%