I know there's tons of options out there, but this one is my go-to. Primarily because it's hard to forget, but also has just the right amount of features.
npm i -g httpster
Then from any folder you want served, simply:
Default port is 3333.
With custom port:
httpster -p 8080
Declare directory as root:
httpster -d /dist
Even more advanced usage, https://github.com/SimbCo/httpster