This micro-tutorial assumes that you have already installed node.js.
npm install -g http-server
Once installed, jump into the terminal and place yourself in the directory that holds the static content. From there, it’s just a matter of keystrokes:
http-server [path] -p [port]
Path and port are optional. Should it find a sub-directory named ‘public’, it will be chosen as the HTTP root, if not – the current directory will assume its place. Port defaults to 8080.
More info: https://github.com/nodeapps/http-server