Digest Fetch

JSON →
library 3.1.1 ·javascript
verified May 27, 2026

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.

total hits 42
actors 10 distinct systems
last hit 1d ago human
ByteDance
8
OAI-SearchBot
5
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
ChatGPT-User
1
Search engines
1
Humans
8

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · VN · 🇨🇦 Canada