{"library":"lite-server","type":"library","category":null,"description":"Lightweight development-only Node.js server for SPAs, wrapping BrowserSync with automatic HTML5 history API fallback, live reload, and CSS injection via WebSocket. Version 2.6.1 (latest) as of 2023, maintained infrequently (last release 2021). Key differentiator: integrates BrowserSync with connect-history-api-fallback middleware out of the box, solving deep-linking for Angular/React/Vue SPAs with minimal config. Unlike plain BrowserSync, it defaults to serving index.html for unknown routes. Primarily used via npm scripts or npx, supports custom BrowserSync config via bs-config.json/js.","language":"javascript","status":"maintenance","version":"2.6.1","tags":["javascript","angular","spa","static","server","development"],"last_verified":"Wed May 27","install":[{"cmd":"npm install lite-server","imports":["npx lite-server","module.exports = { server: { baseDir: './src' } }","lite-server -c my-config.js --baseDir=dist"]},{"cmd":"yarn add lite-server","imports":[]},{"cmd":"pnpm add lite-server","imports":[]}],"homepage":null,"github":"https://github.com/johnpapa/lite-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lite-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/lite-server/compatibility"}}