¿How to start a simple HTTP server using “npm”. Submit the command that starts the web server on port 8080 (use the short argument to specify the port number)?
http-server [path] [options]
You just install it via npm.
You can specify the port via the argument.
I think that question is pretty misleading TBH. The hint doesn’t help either.
But @nxmxss is spot on.
This question was poorly worded. Try this website. it helped me. Big list of http static server one-liners · GitHub
http-server