{"library":"http-server","type":"library","category":null,"description":"http-server is a robust, zero-configuration command-line HTTP server designed for serving static files efficiently. Currently stable at version `14.1.1`, it has a reasonably active release cadence, addressing security vulnerabilities, adding new features, and dropping older Node.js support. Its key differentiators include ease of use via a simple CLI, support for HTTPS, automatic gzip/brotli compression, CORS headers, basic authentication, and proxying capabilities. It is suitable for local development, testing, and production environments, providing a quick way to serve content without complex setup. The project recently underwent a significant refactor by internalizing the `ecstatic` library's functionality, reducing external dependencies.","language":"javascript","status":"active","version":"14.1.1","tags":["javascript","cli","command","static","http","https","http-server","https-server","server"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-server","imports":["import { createServer } from 'http-server';","const { createServer } = require('http-server');","npx http-server [path] [options]"]},{"cmd":"yarn add http-server","imports":[]},{"cmd":"pnpm add http-server","imports":[]}],"homepage":null,"github":"https://github.com/http-party/http-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-server","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/http-server/compatibility"}}