{"library":"digest-fetch","type":"library","category":null,"description":"digest-fetch is a JavaScript/TypeScript library that provides digest and basic HTTP authentication capabilities for both the standard `fetch` API and `node-fetch` in Node.js environments. The current stable version is 3.1.1. This library distinguishes itself by strictly adhering to RFC2069, RFC2617, and RFC7616 for digest access authentication, supporting various algorithms like MD5, SHA-256, and SHA-512-256, including their session variants. It primarily acts as a plugin, wrapping the `fetch` function to handle the authentication challenge-response cycle seamlessly. Major version 3.x transitioned the package to an ES module, requiring changes in project configuration for both JavaScript and TypeScript users. It allows for customizable options such as algorithm, status codes for failure, and cnonce size, and can also be configured to perform basic HTTP authentication.","language":"javascript","status":"active","version":"3.1.1","tags":["javascript","digest","auth","fetch","node-fetch","http","basic","authentication","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install digest-fetch","imports":["import DigestClient from 'digest-fetch';","const DigestClient = require('digest-fetch');","import DigestClient from 'digest-fetch';"]},{"cmd":"yarn add digest-fetch","imports":[]},{"cmd":"pnpm add digest-fetch","imports":[]}],"homepage":null,"github":"https://github.com/devfans/digest-fetch","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/digest-fetch","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/digest-fetch/compatibility"}}