{"library":"light-server","type":"library","category":null,"description":"A lightweight CLI static HTTP server with file-watching, custom command execution and live-reload capabilities. Version 2.9.1 (latest as of 2023) is a stable release with no active development cadence; last published 5 years ago. Key differentiators against alternatives like BrowserSync: minimal dependencies (~100KB vs >50MB), no build tool integration required, CLI-only usage designed for npm scripts, and built-in live reload with CSS injection without browser plugins. Supports HTTP/2, proxy, SPA history API fallback, and negative glob patterns. Best suited for static site development needing simple server + reload.","language":"javascript","status":"maintenance","version":"2.9.1","tags":["javascript","http","server","livereload","live-reload","watch","execute","dev"],"last_verified":"Wed May 27","install":[{"cmd":"npm install light-server","imports":["npx light-server -s . -p 4000"]},{"cmd":"yarn add light-server","imports":[]},{"cmd":"pnpm add light-server","imports":[]}],"homepage":null,"github":"https://github.com/txchen/light-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/light-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/light-server/compatibility"}}