{"library":"http-auth","type":"library","category":null,"description":"The `http-auth` package provides robust HTTP basic and digest access authentication capabilities for Node.js applications. Currently stable at version 4.2.1, it receives infrequent but consistent updates, addressing security and dependency concerns (e.g., uuid updates, security fixes in 4.1.3). It differentiates itself by offering built-in support for both basic and digest authentication schemes, configurable realms, and flexible user credential storage, including file-based methods (e.g., `.htpasswd` format). While primarily designed for CommonJS environments, it offers a straightforward API for integrating authentication into standard Node.js HTTP servers, allowing developers to define custom user stores via file paths or callback functions, and customize authentication parameters like algorithm (MD5, MD5-sess) and Quality of Protection (QOP) for digest authentication.","language":"javascript","status":"active","version":"4.2.1","tags":["javascript","http","basic","digest","access","authentication"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-auth","imports":["const auth = require('http-auth');","const basic = auth.basic({...});","const digest = auth.digest({...});"]},{"cmd":"yarn add http-auth","imports":[]},{"cmd":"pnpm add http-auth","imports":[]}],"homepage":null,"github":"https://github.com/gevorg/http-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-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/http-auth/compatibility"}}