{"library":"koa-basic-auth","type":"library","category":null,"description":"koa-basic-auth provides a straightforward middleware for implementing blanket HTTP Basic Authentication within Koa applications. It's designed for simple use cases where a single username and password (or just one of them since v4.0.0) protects all subsequent middleware in the stack. The current stable version is 4.0.0. Releases are tied to the Koa ecosystem, typically stable and less frequent, with major updates addressing underlying security practices or JavaScript module changes. Its key differentiator is its simplicity and explicit focus on 'blanket' authentication, contrasting with more complex authentication libraries that offer granular control, roles, or advanced strategies. It is not intended for fine-grained access control but rather for protecting entire sections of an application.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","koa","auth","authentication","basicauth","basic auth"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-basic-auth","imports":["const auth = require('koa-basic-auth');"]},{"cmd":"yarn add koa-basic-auth","imports":[]},{"cmd":"pnpm add koa-basic-auth","imports":[]}],"homepage":null,"github":"https://github.com/koajs/basic-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-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/koa-basic-auth/compatibility"}}