1.0.5 • Published 7 years ago

static-server-quick v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

static-server-quick

start http,https,http2 server to serve static resource files from a local directory

usage

npm i static-server-quick -g
# path should be absolute path to static resource directory
static-server <http|https|http2> <absolute-path>

for example

execute in terminal:

static-server http2 /user/project/static

and then, open https://localhost:8091/index.html in browser(there is an index.html in static directory)
If the browser issues a warning, follow the steps below:
step1:
step1
step2:
step2

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago