@types/connect-datadog
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

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

Credits

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

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @types/connect-datadog

Weekly Downloads

10,361

Version

0.0.10

License

MIT

Unpacked Size

4.26 kB

Total Files

5

Last publish

Collaborators

  • types