A minimal command-line express server for a static site
$ npm install -g jsserver
jsserver <PORT> inside a directory to serve it on that port.
- Default port is set to 7000
- Although this is on NpmJS, it can also be installed straight from this gist with
npm i -g https://github.com/danyshaanan/jsserver/archive/master.tar.gz