0.0.10 • Published 6 months ago
@types/connect-datadog v0.0.10
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
// Type definitions for connect-datadog 0.0
// Project: https://github.com/datadog/node-connect-datadog
// Definitions by: Moshe Good <https://github.com/moshegood>
// Michael Mifsud <https://github.com/xzyfer>
// Lewis Vail <https://github.com/lewisvail3>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
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: Thu, 08 Jul 2021 09:08:07 GMT
- Dependencies: @types/express, @types/hot-shots
- Global values: none
Credits
These definitions were written by Moshe Good, Michael Mifsud, and Lewis Vail.