{"library":"http-serve","type":"library","category":null,"description":"http-serve is a command-line HTTP server that builds upon the foundational `http-server` package, enhancing it with key features such as gzip compression and a configurable fallback mechanism for nonexistent routes (404s). It also includes built-in HTTPS support, making it a robust solution for both local development and front-end testing environments. The current stable version is 1.0.1, indicating a mature yet focused tool. As a CLI utility, its release cadence is typically driven by new feature additions, bug fixes, or dependency updates. Its primary differentiators lie in its zero-configuration approach, ease of use for quick static file serving, and the added capabilities for gzipped assets and Single Page Application (SPA) routing compared to basic HTTP servers.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","cli","command","http","https","gzip","gz","fallback"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-serve","imports":["npm i -g http-serve\nhttp-serve . -p 8080","npx http-serve . -p 8080 --gzip","// package.json\n{\n  \"scripts\": {\n    \"serve\": \"http-serve ./dist -p 8081 --cors --fallback /index.html\"\n  }\n}\n// Then run: npm run serve"]},{"cmd":"yarn add http-serve","imports":[]},{"cmd":"pnpm add http-serve","imports":[]}],"homepage":null,"github":"https://github.com/dkarmalita/http-serve","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-serve","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-serve/compatibility"}}