digest auth request plugin for fetch/node-fetch also support http basic auth authentication
npm install with-digest-fetchForked from digest-fetch, build for cjs/esm support.
See https://github.com/devfans/digest-fetch#readme for usage.
- Ships both ESM and CJS bundles with correct module exports.
- Better TypeScript support.
``sh`
npm install with-digest-fetch
`ts
import DigestClient from "with-digest-fetch";
const client = new DigestClient("user", "password");
await client.fetch(url, options);
``