Skip to content

tiny static server can handle Content-Type with "text/css"、"text/html"、"image/png"

Notifications You must be signed in to change notification settings

and80506/choc-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

Choc-server is a local development tool, include directory listing、local server starting.

create static server

# create static server, use process.cwd() as default
npx choc-server
# create static server with specify directory and port
npx choc-server root=~/Downloads/ port=8080

choc-server VS http-server

vs http-server

About

tiny static server can handle Content-Type with "text/css"、"text/html"、"image/png"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published