hs-nodeserver

1.0.6 • Public • Published

SimpleHTTPServer for Node

Install

You must install it globally to use the CLI command

yarn global add hs-nodeserver

Usage

$ nodeserver --help

  Usage: nodeserver [options]

  Options:

    -h, --help              output usage information
    -V, --version           output the version number
    -d, --directory <dir>   Directory to serve, default to pwd
    -l, --listen <host/ip>  IP to listen to, default to localhost
    -p, --port <num>        Port, default to 3000

Readme

Keywords

none

Package Sidebar

Install

npm i hs-nodeserver

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

12.2 kB

Total Files

4

Last publish

Collaborators

  • haishanh