npx serve
• 72 words • 1 min • updated
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
Start an HTTP server ASAP
Option #5: use node
#
shell
% npx serveserve comes from Vercel:
servehelps you serve a static site, single page application or just a static file (no matter if on your device or on the local network). It also provides a neat interface for listing the directory’s contents:The quickest way to get started is to just run npx serve in your project’s directory.