static-server-quick

1.0.5 • Public • Published

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

Package Sidebar

Install

npm i static-server-quick

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

19.9 kB

Total Files

12

Last publish

Collaborators

  • whale-you