0.1.1 • Published 6 years ago

http-static v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

HTTP Static

HTTP Static is a tiny web server for testing static web pages. It is designed around testing and developing single page web apps, like with backbone, ember, angular etc. It handles mime-types, includes, etc. It doesn't have any required config settings. Just install it, and run it. It serves files out of the directory it is running in, and any files and folders that are included underneath.

Install

HTTP Static runs as as executable, so installing with -g is the preferred method: npm install -g http-static

SSL

Edit lines 4 and 5 in server.js to point to your key and cert. Server will fall back to http if either file fails to load.

Run

Run http-static from whatever directory you are in, and it will serve files from that directory as the root. http-static. http-static is now serving files from the local directory on port 3333: http://localhost:3333/

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.5

9 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago