{"library":"auth-header","type":"library","category":null,"description":"The `auth-header` library provides a robust solution for parsing and formatting HTTP `Authorization` and `WWW-Authenticate` headers. It supports various authentication schemes, including Basic, Digest, AWS, and Bearer/OAuth, adhering primarily to RFC7235 while also accommodating certain legacy formats by being less strict in its parsing. Currently at version 1.0.0, the library offers a stable API, though it appears to be in a maintenance state with no new feature development or active bug fixes since 2017. Its core differentiator lies in abstracting the complexities of these historically inconsistent HTTP headers, offering a standardized programmatic interface for their manipulation, which is a significant improvement over manual string parsing.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","http","express","basic","auth","authorization"],"last_verified":"Wed May 27","install":[{"cmd":"npm install auth-header","imports":["import * as authorization from 'auth-header';","const parsedHeader = authorization.parse(req.get('authorization'));","res.set('WWW-Authenticate', authorization.format('Basic'));"]},{"cmd":"yarn add auth-header","imports":[]},{"cmd":"pnpm add auth-header","imports":[]}],"homepage":null,"github":"https://github.com/izaakschroeder/auth-header","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/auth-header","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/auth-header/compatibility"}}