{"library":"lws-basic-auth","type":"library","category":null,"description":"lws-basic-auth is a middleware plugin designed to password-protect local-web-server (lws) instances using HTTP Basic Authentication. It integrates directly into the `lws` command-line and programmatic configuration, allowing users to define a username and password to restrict access to the served content. The current stable version is 2.0.0. While `lws` itself has seen infrequent updates, this middleware provides a focused and lightweight solution specifically for the `lws` ecosystem. It differentiates itself from general-purpose basic authentication libraries by being tightly coupled with `lws`'s plugin architecture, offering a streamlined setup for securing local development servers. Its release cadence is infrequent, suggesting it is a stable package in maintenance mode, receiving minimal updates.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","lws","lws-middleware","local-web-server","web"],"install":[{"cmd":"npm install lws-basic-auth","imports":["import BasicAuth from 'lws-basic-auth'; // ESM\n// OR\nconst BasicAuth = require('lws-basic-auth'); // CommonJS"]},{"cmd":"yarn add lws-basic-auth","imports":[]},{"cmd":"pnpm add lws-basic-auth","imports":[]}],"homepage":null,"github":"https://github.com/lwsjs/basic-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lws-basic-auth","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-basic-auth/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}