{"library":"lws-mock-response","type":"library","category":null,"description":"Middleware for adding mock responses to lws (local-web-server). Current stable version is 2.0.0, released under an active maintenance cycle. It enables offline development by simulating API responses when network services are unavailable. Mocks are defined in reusable modules. Key differentiators: tight integration with lws ecosystem, simple class-based mock definitions, and support for various response types (JSON, etc.). Ideal for frontend developers working offline or testing scenarios.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","lws","lws-middleware","mock","response"],"install":[{"cmd":"npm install lws-mock-response","imports":["import lwsMockResponse from 'lws-mock-response'"]},{"cmd":"yarn add lws-mock-response","imports":[]},{"cmd":"pnpm add lws-mock-response","imports":[]}],"homepage":null,"github":"https://github.com/lwsjs/mock-response","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lws-mock-response","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-mock-response/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}