{"library":"express-auth-middle","type":"library","category":null,"description":"express-auth-middle is an authentication middleware for Express.js applications, offering support for both standard HTTP Basic Authentication and a custom `X-Auth` header scheme. Written in TypeScript, it provides type safety and integrates cleanly into Express applications. The current stable version is 1.1.2, with the last publish occurring approximately three years ago, suggesting a maintenance-level release cadence rather than active feature development. Key differentiators include its dual-method authentication approach (allowing either basic or x-auth, or both), the ability to define custom credentials, and an optional `challenge` flag to prompt clients for credentials via the `WWW-Authenticate` header. It is designed for straightforward integration into existing Express middleware chains.","language":"javascript","status":"maintenance","version":"1.1.2","tags":["javascript","express","authentication middleware","basic auth","x-auth"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-auth-middle","imports":["import authMiddleWare from 'express-auth-middle';","import type { AuthOptions } from 'express-auth-middle';"]},{"cmd":"yarn add express-auth-middle","imports":[]},{"cmd":"pnpm add express-auth-middle","imports":[]}],"homepage":null,"github":"https://github.com/johndcarmichael/express-auth-middle","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-auth-middle","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-auth-middle/compatibility"}}