http-file-server
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -5,4 +5,3 @@ #!/usr/bin/env node | ||
* | ||
* Author: Viacheslav Lotsmanov (unclechu) | ||
* Contact: https://docs.google.com/spreadsheet/embeddedform?formkey=dFFZWk9PV0cyaTFXZlJMcnZFLVBaV3c6MQ | ||
* Author: Viacheslav Lotsmanov <lotsmanov89@gmail.com> | ||
* License: GPLv3 | ||
@@ -118,3 +117,3 @@ */ | ||
} | ||
function listDir() { | ||
@@ -121,0 +120,0 @@ var template = '<!doctype html>' |
@@ -12,12 +12,4 @@ { | ||
"license": "GPLv3", | ||
"version": "0.2.5", | ||
"author": "Viacheslav Lotsmanov (unclechu)", | ||
"email": "lotsmanov89@gmail.com", | ||
"authors": [ | ||
{ | ||
"name": "Viacheslav Lotsmanov", | ||
"nickname": "unclechu", | ||
"email": "lotsmanov89@gmail.com" | ||
} | ||
], | ||
"version": "0.2.6", | ||
"author": "Viacheslav Lotsmanov <lotsmanov89@gmail.com>", | ||
"homepage": "https://github.com/unclechu/node-http-file-server", | ||
@@ -24,0 +16,0 @@ "repository": { |
@@ -5,1 +5,39 @@ Simple HTTP file server (Node.JS) | ||
[](https://nodei.co/npm/http-file-server/) | ||
**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: | ||
```bash | ||
./http-file-server.js | ||
``` | ||
For details run `./http-file-server.js --help`: | ||
```text | ||
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](LICENSE) |
Sorry, the diff of this file is not supported yet
47101
5
43
261