0.1.2 • Published 6 years ago

portal-static v0.1.2

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

portal-static

A NodeJS web server for static files

Description

You can create your own web server to serve up your static resources just by one command.

Installation

npm i -g portal-static

Usage

Make the current working directory as the root directory of static resources

portal-static

Set the port number to be 8080

portal-static -p 8080

Set the hostname to be localhost

portal-static -h localhost

Set the root directory to be /usr

portal-static -d /usr
0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago