# @types/ntlm-client

> TypeScript definitions for ntlm-client

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

## Install

```sh
npm install @types/ntlm-client
pnpm add @types/ntlm-client
yarn add @types/ntlm-client
bun add @types/ntlm-client
```

## 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.3 |
| Published | 2023-11-07 |
| First published | 2020-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.1.3 (latest) — 2023-11-07
- 0.1.0 (ts2.8) — 2020-02-26
- 0.1.2 — 2023-10-18
- 0.1.1 — 2023-09-23

## README

# Installation
> `npm install --save @types/ntlm-client`

# Summary
This package contains type definitions for ntlm-client (https://github.com/clncln1/node-ntlm-client).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ntlm-client.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ntlm-client/index.d.ts)
````ts
/// <reference types="node"/>

interface NtlmType2 {
    flags: number;
    encoding: string;
    version: number;
    challenge: Buffer;
    targetName: string;
    targetInfo: {
        parsed: {
            DOMAIN: string;
            SERVER: string;
            DNS: string;
            FQDN: string;
            PARENT_DNS: string;
        };
        buffer: Buffer;
    };
}

declare function createType1Message(workstation: string, domain: string): string;
declare function decodeType2Message(type1Message: string): NtlmType2;
declare function createType3Message(
    type2Message: NtlmType2,
    username: string,
    password: string,
    workstation: string,
    domain: string,
): string;
export { createType1Message, createType3Message, decodeType2Message };

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Manuel Borrajo](https://github.com/borrajo).

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