servet
v0.0.8
Published
Like http-server and serve, but with better support for multiple index.html files.
Downloads
7
Readme
Servet
Like http-server and serve, but with better support for multiple index.html files.
Usage examples
Start a server on default port (3000)
npx servet
Start a server on port 8080
npx servet -p 8080
Start a server that cuts a specific substring in request paths
npx servet -e /cut-this
This would for example convert incoming path /cut-this/interesting.jpg
into /interesting.jpg
.