webhere
v1.1.0
Published
Create a web server in the current directory.
Downloads
8
Maintainers
Readme
webhere
Create a web server in the current directory.
Install
npm i -g webhere
Usage
# create a web server in the current directory with default port 9000
webhere
# create a web server with port 5000
webhere -p 5000
# create a web server in the /home directory with port 5000
webhere -p 5000 -b /home
# don't open browser
webhere -s
All options
Usage: webhere [options]
Options:
-h, --help output usage information
-V, --version output the version number
-p, --port <n> port of web (default 9000)
-b, --basePath <path> base path of web (default .)
-s, --silent silent mode, don't open browser
Log
Server has started.
Server address: http://127.0.0.1:9000