webhere

1.1.0 • Public • Published

webhere

Create a web server in the current directory.

NPM version Build Status NPM downloads


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

Package Sidebar

Install

npm i webhere

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

19.4 kB

Total Files

10

Last publish

Collaborators

  • liuhongqiang