http-server
is a simple, zero-configuration command-line to cast project source code.
Installation via npm
:
npm install code-cast -g
This will install code-cast
globally so that it may be run from the command line.
code-cast [path] [options]
[path]
defaults to ./
.
-p
Port to use (defaults to 3000)
-o
Open browser window after starting the server
-h
or --help
Print this list and exit.