# @types/sasl-digest-md5

> TypeScript definitions for sasl-digest-md5

Latest version **0.1.4** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/sasl-digest-md5
pnpm add @types/sasl-digest-md5
yarn add @types/sasl-digest-md5
bun add @types/sasl-digest-md5
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2023-11-07 |
| First published | 2018-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51446 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/sasl-digest-md5
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sasl-digest-md5
- npm.io page: https://npm.io/package/@types/sasl-digest-md5

## Dependencies (1)

- [@types/saslmechanisms](https://npm.io/package/@types/saslmechanisms.md) *

## Recent versions

- 0.1.4 (latest) — 2023-11-07
- 0.1.1 (ts3.6) — 2021-07-06
- 0.1.0 (ts2.0) — 2018-12-08
- 0.1.3 — 2023-10-18
- 0.1.2 — 2023-09-25

## README

# Installation
> `npm install --save @types/sasl-digest-md5`

# Summary
This package contains type definitions for sasl-digest-md5 (https://github.com/jaredhanson/js-sasl-digest-md5).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sasl-digest-md5.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sasl-digest-md5/index.d.ts)
````ts
import { Mechanism } from "saslmechanisms";

export = DigestMd5Mechanism;

declare class DigestMd5Mechanism implements Mechanism {
    static Mechanism: typeof DigestMd5Mechanism;
    static prototype: {
        name: "DIGEST-MD5";
        clientFirst: false;
    };

    name: "DIGEST-MD5";
    clientFirst: false;

    constructor(options?: DigestMd5Mechanism.Options);

    response(cred: DigestMd5Mechanism.Credentials): string;

    challenge(chal: string): this;
}

declare namespace DigestMd5Mechanism {
    interface Options {
        genNonce?: (() => number) | undefined;
    }

    interface Credentials {
        serviceType: string;
        host: string;
        username: string;
        password: string;
        serviceName?: string | undefined;
        realm?: string | undefined;
        authzid?: string | undefined;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@types/saslmechanisms](https://npmjs.com/package/@types/saslmechanisms)

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

---
_Source: https://npm.io/package/@types/sasl-digest-md5 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
