Simple static hosting node server with public dir & port
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin Fix path traversal Feb 15, 2018
.gitignore 0.1.0 Oct 1, 2011 fix README Oct 1, 2011
package.json Bump Feb 15, 2018


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


# install
npm install -g public

# start server 
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