@gidw/node-server
v1.0.4
Published
Node based web server
Downloads
5
Readme
Node server
Usage
node-server [options] [directory_to_serve_files_from]
Options
-p, --port <PORT_NUMBER> (8080)
-c, --cors <CORS_STRING>
-d, --dir <DIRECTORY> (.)
-lr, -lR, --logRequest [<BOOLEAN>|<NUMBER>] (true)
-lrh, -lRH, --logRequestHeaders [<BOOLEAN>|<NUMBER>] (false)
-lra, -lRA, --logRequestAddress [<BOOLEAN>|<NUMBER>] (true)
--rootLookForIndex [<BOOLEAN>] (true)