Nullifying Precipitation Machine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

simplehttpserver

0.1.1 • Public • Published

simplehttpserver: Simple HTTP Server

'simpehttpserver' is an simple imitation of python's SimpleHTTPServer and is intended for testing, development and debugging purposes

Install globally

Install using npm

  npm install simplehttpserver -g

Usage

Run simplehttpserver by command

 simplehttpserver [directory]

[directory] is used as web root. Default is current working directory.

Server listens port 8000. Open browser to http://localhost:8000 to view.

Run locally

 node simplehttpserver.js

You must have dependencies installed

Keywords

none

install

npm i simplehttpserver

Downloadsweekly downloads

241

version

0.1.1

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar