{"library":"local-web-server","type":"library","category":null,"description":"local-web-server is a lean, modular web server designed for rapid full-stack development. As a distribution of the core `lws` package, it bundles a starter pack of useful middleware, enabling functionalities like serving static files, Single Page Applications (SPAs), URL rewriting, CORS, and mock APIs out-of-the-box. The current stable version is 5.4.0, with regular updates addressing bug fixes and new features. It supports HTTP, HTTPS, and HTTP2, offering both programmatic and command-line interfaces. Key differentiators include its small footprint, modular design allowing users to load only required behaviors, and comprehensive features for prototyping back-end services or front-end applications. It requires Node.js v12.20 or newer.","language":"javascript","status":"active","version":"5.4.0","tags":["javascript","dev","server","web","tool","front-end","development","cors","mime"],"install":[{"cmd":"npm install local-web-server","imports":["import createServer from 'local-web-server'","import type { LwsOptions } from 'lws'","npx ws [options]"]},{"cmd":"yarn add local-web-server","imports":[]},{"cmd":"pnpm add local-web-server","imports":[]}],"homepage":"https://local-web-server.com","github":"https://github.com/lwsjs/local-web-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/local-web-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/local-web-server/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}