Content-Length: 263398 | pFad | http://github.com/zbinlin/tiny-server

68 GitHub - zbinlin/tiny-server: A tiny Web Server
Skip to content

zbinlin/tiny-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-server

A tiny Web Server

Install

You can install to global

npm install -g tiny-server

or as a module

npm install tiny-server

Usage

global

tiny-server

It will use terminal's current working directory as the web server's root directory. And the server's port is 3000.

You can specify a path as web server's root directory:

tiny-server ./www

You can export environment PORT value as the server's port:

export PORT=3001 && tiny-server;

About

A tiny Web Server

Resources

Stars

Watchers

Forks

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/zbinlin/tiny-server

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy