Simple HTTP File Server

JSON →
library 2.2.1 ·javascript maintenance
verified May 27, 2026

The `file-server` package provides a minimalistic HTTP file and directory serving library for Node.js, currently at stable version 2.2.1. It offers a low-level API to create custom file-serving handlers, supporting features like ETag-based caching, configurable `max-age`, and GZIP compression (inferred from package keywords). Updates appear infrequent, suggesting a maintenance-focused cadence rather than active feature development, with the last major update (v2.0.0) removing support for Node.js versions older than 8. Its key differentiators include a callback-based error handling system and explicit control over MIME types and directory access, offering a fundamental building block for custom static file servers rather than an opinionated middleware solution.

total hits 9
actors 5 distinct systems
last hit 7d ago Script
GPTBot
2
Script
1
Search engines
1

top countries 🇺🇸 United States · 🇷🇺 Russia · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany