0.1.2 • Published 5 years ago

hserve v0.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

handyServer

install

npm i -g hserve

usage

easily server static files

  1. cd to the target folder
  2. run hserve in this folder

server static files

  1. run hserve serve [options] in this folder. By default, it works exactly the same as running the hserve command directly.

  2. options

    optionaliasneed argsdescdefault
    --port-pTrueSet port of hserve3000
    --dir-dTrueSet the directory of the service, support relative and absolute paths$PWD
    --api-aTrueSet api-url of static file service/static