staticfileserver

1.0.10 • Public • Published

fileServer

NPM

NPM Version NPM Downloads

Installation

$ npm install -g staticfileserver

Quick Start

The quickest way to get started web static file server as shown below:

command:

$ fileServer ./ 9000

image

Command Line Options

This generator can also be further configured with the following command line flags.

-h, --help          output usage information
-V, --version       output the version number
-p, --port           set port=? (defaults 9090)
-d, --dir         the file directory of server started, default root directory: /

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i staticfileserver

Weekly Downloads

1

Version

1.0.10

License

MIT

Last publish

Collaborators

  • wangliguo