{"library":"sirv-cli","title":"sirv-cli","description":"sirv-cli is a lightweight, zero-config CLI tool for serving static files from any directory. It supports HTTP/2, CORS, ETags, gzip/brotli precompressed files, single-page app fallback, and immutable cache headers. Version 3.0.1 requires Node 18+ and ships native ESM via an exports map. It differs from alternatives like http-server or serve by being minimal, fast, and designed for development previews. Regular releases (2-3 per year) with breaking changes infrequent.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install sirv-cli"],"cli":{"name":"sirv","version":null}},"imports":["npx sirv-cli [dir]"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm install -g sirv-cli\nsirv --port 8080 --dev\n# Navigate to http://localhost:8080","lang":"javascript","description":"Install sirv-cli globally and start a dev server on port 8080.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}