Wondering what’s next for npm?Check out our public roadmap! »

http-file-server

0.2.6 • Public • Published

Simple HTTP file server (Node.JS)

NPM

WARNING! This is a dead project. Any updates usually is just for supressing vulnerability alerts.

Usage

To start file server in current working directory on 8080 port:

./http-file-server.js

For details run ./http-file-server.js --help:

USAGE
=====
 
--help      View this information
--path=abc  Set path of file server root directory (default is current dir)
--host=abc  Hostname of http-server (default is "localhost"),
            use "*" for any host
--port=abc  Port of http-server (default is "8080")
--browse    Open hostname in browser (via "xdg-open")
--debug     Logging every request
--no-cache  Disable caching in headers

Author

Viacheslav Lotsmanov

License

GPLv3

Install

npm i http-file-server

DownloadsWeekly Downloads

41

Version

0.2.6

License

GPLv3

Unpacked Size

47.1 kB

Total Files

5

Last publish

Collaborators

  • avatar