{"library":"express-basic-auth-v2","type":"library","category":null,"description":"Simple plug-and-play HTTP basic auth middleware for Express. Stable version 1.2.2, occasionally updated. Minimal configuration with static users or custom authorizer functions. Provides timing-attack-safe comparison via safeCompare. Supports synchronous and asynchronous authorization. TypeScript-compatible via included types. Lightweight alternative to passport or express-basic-auth (note: this is a fork).","language":"javascript","status":"active","version":"1.2.2","tags":["javascript","express","middleware","basic","auth","authentication","http","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-basic-auth-v2","imports":["import basicAuth from 'express-basic-auth'","import basicAuth, { safeCompare } from 'express-basic-auth'","import type { AuthorizedResponseCallback } from 'express-basic-auth'"]},{"cmd":"yarn add express-basic-auth-v2","imports":[]},{"cmd":"pnpm add express-basic-auth-v2","imports":[]}],"homepage":null,"github":"https://github.com/nagulan51/express-basic-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-basic-auth-v2","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/express-basic-auth-v2/compatibility"}}