Installation
npm install --save @types/connect-datadog
Summary
This package contains type definitions for connect-datadog (https://github.com/datadog/node-connect-datadog).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-datadog.
index.d.ts
import express = require("express");
import hotShots = require("hot-shots");
export = Factory;
declare function Factory(options?: Factory.Options): express.RequestHandler;
declare namespace Factory {
interface Options {
stat?: string | undefined;
tags?: string[] | undefined;
path?: boolean | undefined;
base_url?: boolean | undefined;
method?: boolean | undefined;
protocol?: boolean | undefined;
response_code?: boolean | undefined;
dogstatsd?: hotShots.StatsD | undefined;
}
}
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/express, hot-shots
Credits
These definitions were written by Moshe Good, Michael Mifsud, and Lewis Vail.