{"library":"lws-spa","type":"library","category":null,"description":"lws-spa is a middleware plugin for lws (local-web-server) that adds Single Page Application support. As of version 4.1.1 (stable, active maintenance), it allows you to serve a SPA by providing a fallback file (e.g., app.html) that is returned for non-asset requests, with configurable asset detection using regular expressions or filesystem checks. It integrates seamlessly into lws's plugin architecture and is updated occasionally; the package is part of the lws ecosystem and targets Node.js >=12.17. Compared to generic static file servers, lws-spa provides SPA-specific options like asset testing via regex or filesystem, making it a focused solution for SPA development.","language":"javascript","status":"active","version":"4.1.1","tags":["javascript","lws","lws-middleware","spa"],"install":[{"cmd":"npm install lws-spa","imports":["import lwsSpa from 'lws-spa'","import lwsSpa from 'lws-spa'","import lwsSpa from 'lws-spa'; export { lwsSpa as default }"]},{"cmd":"yarn add lws-spa","imports":[]},{"cmd":"pnpm add lws-spa","imports":[]}],"homepage":null,"github":"https://github.com/lwsjs/spa","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lws-spa","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/lws-spa/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}