A tiny Web Server
You can install to global
npm install -g tiny-serveror as a module
npm install tiny-servertiny-serverIt will use terminal's current working directory as the web server's root directory. And the server's port is 3000.
You can specify a path as web server's root directory:
tiny-server ./wwwYou can export environment PORT value as the server's port:
export PORT=3001 && tiny-server;