# @types/datadog-winston

> TypeScript definitions for datadog-winston

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

## Install

```sh
npm install @types/datadog-winston
pnpm add @types/datadog-winston
yarn add @types/datadog-winston
bun add @types/datadog-winston
```

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2023-11-07 |
| First published | 2019-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51470 |
| Maintainers | types |

## Links

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

## Dependencies (3)

- [logform](https://npm.io/package/logform.md) ^1.4.0
- [@types/node](https://npm.io/package/@types/node.md) *
- [winston-transport](https://npm.io/package/winston-transport.md) ^4.3.0

## Recent versions

- 1.0.7 (latest) — 2023-11-07
- 1.0.5 (ts3.6) — 2021-07-08
- 1.0.4 (ts3.3) — 2021-01-12
- 1.0.2 (ts3.0) — 2020-02-25
- 1.0.6 — 2023-10-18
- 1.0.3 — 2020-11-25
- 1.0.1 — 2019-12-16
- 1.0.0 — 2019-12-13

## README

# Installation
> `npm install --save @types/datadog-winston`

# Summary
This package contains type definitions for datadog-winston (https://github.com/itsfadnis/datadog-winston).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/datadog-winston.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/datadog-winston/index.d.ts)
````ts
import TransportStream = require("winston-transport");

declare namespace DatadogWinston {
    interface DatadogTransportOptions extends TransportStream.TransportStreamOptions {
        apiKey: string;
        hostname?: string | undefined;
        service?: string | undefined;
        ddsource?: string | undefined;
        ddtags?: string | undefined;
        intakeRegion?: string | undefined;
    }
}

declare class DatadogWinston extends TransportStream {
    constructor(options: DatadogWinston.DatadogTransportOptions);

    log?(info: any, next: () => void): void;
}

export = DatadogWinston;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [logform](https://npmjs.com/package/logform), [winston-transport](https://npmjs.com/package/winston-transport)

# Credits
These definitions were written by [Matt Hintzke](https://github.com/mhintzke).

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