A command line tool for easily spawning static file servers
$ npm install -g node-serve
Just run the command
serve from the directory you want to serve files from.
The address to listen to (default is "0.0.0.0").
The port to listen to (default is 8080).
The path to serve files from (default is "." or the current working directory).
The duration of the file cache (defualt is 0). Can support a number of milliseconds, or a more complex time string, eg.