http-server Command-Line Static Server
JSON →http-server is a zero-configuration command-line HTTP server designed for serving static files, widely used for local development, testing, and production deployments. It is currently in a stable state with version `v14.1.1` as its latest release. The project maintains an active release cadence, providing frequent patches for security vulnerabilities and dependency updates, alongside less frequent major versions that introduce breaking changes and new features. A key differentiator is its simplicity and ease of use, enabling developers to spin up a server with a single command, automatically serving `./public` if it exists, otherwise the current directory. While primarily a CLI tool, it also exposes a programmatic API for integration into Node.js applications, adhering to CommonJS module standards.
Traffic · last 30 days ↓14% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇮🇳 India · 🇩🇪 Germany · 🇫🇷 France