Skip to content

Create a web server in the current directory.

Notifications You must be signed in to change notification settings

smallyard/webhere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Create a web server in the current directory.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published