This package has been deprecated

Author message:

Not maintained

public

0.1.5 • Public • Published

public.js

Run static file hosting server with specified public dir & port. Support a "direcotry index" like Apache httpd.

Apologies for module name

The name of this module is "public", but it is not recommended to use for "public". It is for development server on the local computer. Do not use on the public network!

Usage

# install
npm install -g public

# start server 
public
Public.js server running with "/path/to/./" on port 3000

# start server with option
public test 3030
Public.js server running with "/path/to/test" on port 3030

Readme

Keywords

none

Package Sidebar

Install

npm i public

Weekly Downloads

6,447

Version

0.1.5

License

none

Unpacked Size

4.89 kB

Total Files

3

Last publish

Collaborators

  • tnantoka