@types/connect-datadog
@types/connect-datadog
npm i @types/connect-datadog
@types/connect-datadog

@types/connect-datadog

The repository for high quality TypeScript type definitions.

by DefinitelyTyped

0.0.6 (see all)License:MITTypeScript:Built-In
npm i @types/connect-datadog
Readme

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

Credits

These definitions were written by Moshe Good, Michael Mifsud, and Lewis Vail.

Downloads/wk

17.6K

GitHub Stars

41K

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

17,572

OPEN ISSUES

637

OPEN PRs

221
VersionTagPublished
0.0.6
latest
1yr ago
0.0.6
ts4.7
1yr ago
0.0.6
ts4.6
1yr ago
0.0.6
ts4.8
1yr ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate