This package contains TypeScript definitions for the widely used http-server npm package. http-server provides a simple, zero-configuration HTTP server, often used for development and testing. These TypeScript definitions allow developers to use http-server within TypeScript projects with proper type checking, autocompletion, and other benefits, promoting safer and more maintainable code. This ensures seamless integration with TypeScript environments when working with the http-server package.
The npm package @types/http-server had infrequent releases. Initial release was in October 2017 (version 0.10.0). Another releases occurred in October 2020 (0.10.1), June and July 2021 (0.12.0, 0.12.1), and a burst of releases from September to November 2023 (0.12.2, 0.12.3, 0.12.4). No releases have occurred since November 2023, including the months leading up to September 2025.
@types/http-server downloads exhibited strong growth throughout 2024, peaking in December/January. In 2025, downloads stabilized at a high level before trending downwards. September 2025 downloads are incomplete, showing a significant dip, but it's too early to draw conclusions for this month.